login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A071418 a(1)=0, a(n+1)=(a(n)+n)/2 if a(n)+n is even, a(n+1)=(3*(a(n)+n)+1)/2 otherwise. 1
0, 2, 2, 8, 6, 17, 35, 21, 44, 80, 45, 28, 20, 50, 32, 71, 131, 74, 46, 98, 59, 40, 31, 27, 77, 51, 116, 215, 365, 197, 341, 186, 109, 71, 158, 290, 163, 100, 69, 54, 47, 44, 43, 43, 131, 88, 67, 57, 158, 311, 542, 890, 471, 262, 158, 320, 188, 368, 213, 136, 98 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

Let a(1) be any integer >=0. Is there always a positive integer N such that if n>=N a(n+2)-a(n)= 10 or 18 (depending on the parity of n)?

LINKS

Harvey P. Dale, Table of n, a(n) for n = 1..1000

FORMULA

If k>=0, a(2k+5432)=27113+10k, a(2k+5433)=48815+18k.

MATHEMATICA

nxt[{n_, a_}]:={n+1, If[EvenQ[a+n], (a+n)/2, (3(a+n)+1)/2]}; Transpose[ NestList[ nxt, {1, 0}, 70]][[2]] (* Harvey P. Dale, Mar 24 2015 *)

CROSSREFS

Sequence in context: A086535 A067436 A285114 * A245582 A197820 A064862

Adjacent sequences:  A071415 A071416 A071417 * A071419 A071420 A071421

KEYWORD

easy,nonn

AUTHOR

Benoit Cloitre, May 29 2002 Ben

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 September 18 05:32 EDT 2019. Contains 327165 sequences. (Running on oeis4.)