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!)
A037102 Trajectory of 3 under map n->9n+1 if n odd, n->n/2 if n even. 0
3, 28, 14, 7, 64, 32, 16, 8, 4, 2, 1, 10, 5, 46, 23, 208, 104, 52, 26, 13, 118, 59, 532, 266, 133, 1198, 599, 5392, 2696, 1348, 674, 337, 3034, 1517, 13654, 6827, 61444, 30722, 15361, 138250, 69125, 622126, 311063, 2799568, 1399784, 699892, 349946, 174973 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,1

LINKS

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

PROG

(Python)

from itertools import accumulate

def f(n, _): return 9*n+1 if n%2 == 1 else n//2

def aupton(terms): return list(accumulate([3]*terms, f))

print(aupton(48)) # Michael S. Branicky, Mar 28 2021

CROSSREFS

Sequence in context: A146072 A064234 A224579 * A042169 A041785 A157848

Adjacent sequences:  A037099 A037100 A037101 * A037103 A037104 A037105

KEYWORD

nonn,changed

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 April 10 07:44 EDT 2021. Contains 342843 sequences. (Running on oeis4.)