login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A033968 Trajectory of 1 under map n->23n+1 if n odd, n->n/2 if n even 1
1, 24, 12, 6, 3, 70, 35, 806, 403, 9270, 4635, 106606, 53303, 1225970, 612985, 14098656, 7049328, 3524664, 1762332, 881166, 440583, 10133410, 5066705, 116534216, 58267108, 29133554, 14566777 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

LINKS

Table of n, a(n) for n=0..26.

MAPLE

N:= 100: # to get a(0) to a(N)

A[0]:= 1:

for n from 1 to N do

if A[n-1]::even then A[n]:= A[n-1]/2

else A[n]:= 23*A[n-1]+1

fi

od:

seq(A[i], i=0..N); # Robert Israel, Nov 21 2014

CROSSREFS

Sequence in context: A267024 A259337 A118983 * A033344 A228437 A079341

Adjacent sequences:  A033965 A033966 A033967 * A033969 A033970 A033971

KEYWORD

nonn

AUTHOR

N. J. A. Sloane.

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 7 10:18 EDT 2021. Contains 343650 sequences. (Running on oeis4.)