Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A123919
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A123919 Number of numbers congruent to 2 or 4 mod 6 and <= n. +0
3
0, 1, 1, 2, 2, 2, 2, 3, 3, 4, 4, 4, 4, 5, 5, 6, 6, 6, 6, 7, 7, 8, 8, 8, 8, 9, 9, 10, 10, 10, 10, 11, 11, 12, 12, 12, 12, 13, 13, 14, 14, 14, 14, 15, 15, 16, 16, 16, 16, 17, 17, 18, 18, 18, 18, 19, 19, 20, 20, 20, 20, 21, 21, 22, 22, 22, 22, 23, 23, 24, 24, 24, 24, 25, 25, 26, 26, 26 (list; graph; listen)
OFFSET

1,4

COMMENT

First differences of A056827. [From R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Nov 22 2008]

FORMULA

G.f.: x^2(1+x^2)/((1+x)(1-x)^2*(1+x+x^2)(1-x+x^2)). a(n+1)-a(n)=A120325(n+1). [From R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Nov 22 2008]

MATHEMATICA

f[n_] := Floor[n/2] - Floor[n/6]; Array[f, 78] (* Robert G. Wilson v Oct 29 2006 *)

CROSSREFS

Cf. A047235.

Sequence in context: A096605 A109497 A156078 this_sequence A090701 A056970 A008668

Adjacent sequences: A123916 A123917 A123918 this_sequence A123920 A123921 A123922

KEYWORD

easy,nonn

AUTHOR

Giovanni Teofilatto (g.teofilatto(AT)tiscalinet.it), Oct 29 2006

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 29 12:46 EST 2009. Contains 167659 sequences.


AT&T Labs Research