The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (FreeBSD)
File Line Function
/showthread.php 795 errorHandler->error





Post Reply 
(38G) OEIS A2516: A(A(N))=2*N
08-02-2017, 01:05 PM (This post was last modified: 09-13-2017 12:21 PM by Gerald H.)
Post: #1
(38G) OEIS A2516: A(A(N))=2*N
A programme to enter symbolics in the Sequence App to reproduce the sequence

https://oeis.org/A002516

Code:

A002516

RECURSE(U,IFTE(N MOD 2==0,2*U1(N/2),IFTE(N MOD 4==1,N+2,2*(N-2))),3,6)►U1(N):
CHECK 1:
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
(38G) OEIS A2516: A(A(N))=2*N - Gerald H - 08-02-2017 01:05 PM



User(s) browsing this thread: 4 Guest(s)