Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A083219
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A083219 a(n) = n - 2*floor(n/4). +0
4
0, 1, 2, 3, 2, 3, 4, 5, 4, 5, 6, 7, 6, 7, 8, 9, 8, 9, 10, 11, 10, 11, 12, 13, 12, 13, 14, 15, 14, 15, 16, 17, 16, 17, 18, 19, 18, 19, 20, 21, 20, 21, 22, 23, 22, 23, 24, 25, 24, 25, 26, 27, 26, 27, 28, 29, 28, 29, 30, 31, 30, 31, 32, 33, 32, 33, 34, 35, 34, 35, 36, 37, 36, 37, 38 (list; graph; listen)
OFFSET

0,3

COMMENT

a(n) = A083220(n)/2.

FORMULA

a(n) = a(n-1) + n mod 2 + (n mod 4 -1)*(1- n mod 2), a(0)=0.

G.f.: x(1+x+x^2-x^3)/((1-x)^2(1+x)(1+x^2)). [From R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Aug 28 2008]

a(n)=1+(1/12)*Sum{k=0..n}{7*(k mod 4)+[(k+1) mod 4]+[(k+2) mod 4]-5*([k+3) mod 4]}, with n>=0 [From Paolo P. Lava (ppl(AT)spl.at), Oct 06 2008]

CROSSREFS

Sequence in context: A078759 A095207 A065362 this_sequence A106249 A110516 A134986

Adjacent sequences: A083216 A083217 A083218 this_sequence A083220 A083221 A083222

KEYWORD

nonn

AUTHOR

Reinhard Zumkeller (reinhard.zumkeller(AT)gmail.com), Apr 22 2003

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 24 14:25 EST 2009. Contains 167438 sequences.


AT&T Labs Research