Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A152835
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A152835 a(0) = 22; a(n)=n-a(n-1). +0
7
-22, 23, -21, 24, -20, 25, -19, 26, -18, 27, -17, 28, -16, 29, -15, 30, -14, 31, -13, 32, -12, 33, -11, 34, -10, 35, -9, 36, -8, 37, -7, 38, -6, 39, -5, 40, -4, 41, -3, 42, -2, 43, -1, 44, 0, 45, 1, 46, 2, 47, 3, 48, 4, 49, 5, 50, 6, 51, 7, 52, 8, 53, 9, 54, 10, 55, 11, 56, 12 (list; graph; listen)
OFFSET

0,1

FORMULA

a(n)=(1/4)*[1-89*(-1)^n+2*n], with n>=0 [From Paolo P. Lava (ppl(AT)spl.at), Dec 19 2008]

MATHEMATICA

lst={}; a=22; Do[a=n-a; AppendTo[lst, a], {n, 0, 6!}]; lst

CROSSREFS

Cf. A084964, A152832, A152833

Sequence in context: A165843 A048429 A004463 this_sequence A004511 A058814 A034895

Adjacent sequences: A152832 A152833 A152834 this_sequence A152836 A152837 A152838

KEYWORD

sign

AUTHOR

Vladimir Orlovsky (4vladimir(AT)gmail.com), Dec 14 2008

EXTENSIONS

Indices added to definition, offset corrected - R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Jan 08 2009

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 December 2 11:54 EST 2009. Contains 167921 sequences.


AT&T Labs Research