Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A128999
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A128999 Start with an integer (in this case 1). First, add 5 or 6 if the integer is odd or even, respectively. Then divide by 2. Notice any a(1)<=5 converges to 5 and any a(1)>=6 converges to 6. +0
1
1, 3, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5 (list; graph; listen)
OFFSET

1,2

LINKS

Tanya Khovanova, Arithmetic Progression.

FORMULA

a(n)=[a(n-1) + b]/d, if a(n) even =[a(n-1) + c]/d, if a(n) odd (starting a(1)=1 with b=5, c=6, d=2)

a(n)=5 for n>=4. - R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Oct 31 2007

a(n)=5-4*[C(2*(n-1),(n-1)) mod 2]-2*[C(n^2,n+2) mod 2]-[C((n-1)^2,n+1) mod 2], with n>=1 - Paolo P. Lava (ppl(AT)spl.at), Feb 01 2008

CROSSREFS

Cf. A085600.

Sequence in context: A114545 A161386 A085600 this_sequence A122816 A064007 A068568

Adjacent sequences: A128996 A128997 A128998 this_sequence A129000 A129001 A129002

KEYWORD

easy,nonn

AUTHOR

Adam F. Schwartz (adam_s(AT)mit.edu), May 01 2007

EXTENSIONS

More terms from R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Oct 31 2007

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research