Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A134119
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A134119 a(n) = floor(n^2/10) - floor((n-1)^2/10). +0
1
0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 9, 9, 9, 9, 10, 10, 10, 10, 10, 10, 11, 11, 11, 11, 12, 12, 12, 12, 12, 12, 13, 13, 13, 13, 14, 14, 14, 14, 14, 14, 15, 15, 15, 15, 16, 16, 16, 16, 16, 16, 17, 17, 17 (list; graph; listen)
OFFSET

0,9

COMMENT

Note that for n >=1 there is a pattern that keeps steadily alternating between 4 terms and 6 terms for the each two consecutive groups. The terms value remains the same within each 4-term or 6-term group, while during the switch from the 4-group to the 6-group and then back from the 6-group to the 4-group, etc., the term value is getting bumped by 1.

Comment from R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Jan 16, 2008. Assuming this obeys the recurrence a(n)=a(n-10)+2, this has generating function G(x) = x^4*(1+x^4)/[(-1+x)^2*(x+1)*(x^4+x^3+x^2+x+1)*(x^4-x^3+x^2-x+1)] = (1-3x^2-3x^3)/[10(x^4+x^3+x^2+x+1)]+1/[10(x+1)]+1/[5(-1+x)^2] +(-1+2x-3x^2-x^3)/[10(x^4-x^3+x^2-x+1)]+3/[10(-1+x)]. The first term can be rewritten as a linear superposition of A104384(n), A104384(n+2), A103483(n+3); the second, ~1/(x+1), with the alternating A033999, the third component ~1/(x-1)^2 with a(n)=n+1, the next ~1/(x^4-x^3+x^2-x+1) = A014019 and the last is proportional to 1/(1-x) = A000012. So a(n) is a sum of these sequences.

PROGRAM

(PARI) a(n)= floor(n^2/10) - floor((n-1)^2/10)

CROSSREFS

Sequence in context: A033271 A004052 A051742 this_sequence A064661 A131996 A090618

Adjacent sequences: A134116 A134117 A134118 this_sequence A134120 A134121 A134122

KEYWORD

nonn

AUTHOR

Alexander R. Povolotsky (pevnev(AT)juno.com), Jan 12 2008

EXTENSIONS

More terms from N. J. A. Sloane (njas(AT)research.att.com), Jan 22 2008

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 17 23:40 EST 2009. Contains 171025 sequences.


AT&T Labs Research