login
A131015
Period 12: repeat 1, 1, 3, 2, 2, 1, 4, 4, 2, 3, 3, 4.
0
1, 1, 3, 2, 2, 1, 4, 4, 2, 3, 3, 4, 1, 1, 3, 2, 2, 1, 4, 4, 2, 3, 3, 4, 1, 1, 3, 2, 2, 1, 4, 4, 2, 3, 3, 4, 1, 1, 3, 2, 2, 1, 4, 4, 2, 3, 3, 4, 1, 1, 3, 2, 2, 1, 4, 4, 2, 3, 3, 4, 1, 1, 3, 2, 2, 1, 4, 4, 2, 3, 3, 4, 1, 1, 3, 2, 2, 1, 4, 4, 2, 3, 3, 4, 1, 1, 3, 2, 2, 1, 4, 4, 2, 3, 3, 4, 1, 1, 3, 2, 2, 1, 4, 4, 2
OFFSET
0,3
COMMENTS
Also the decimal expansion of 1018994/9000009. [From R. J. Mathar, Feb 07 2009]
FORMULA
G.f.: (1+2x^2-x^3-x^5+4x^6)/((1-x)(1+x^2)(1-x^2+x^4)). a(n)=a(n-1)-a(n-6)+a(n-7). [From R. J. Mathar, Feb 07 2009]
MATHEMATICA
PadRight[{}, 120, {1, 1, 3, 2, 2, 1, 4, 4, 2, 3, 3, 4}] (* Harvey P. Dale, Jan 12 2016 *)
CROSSREFS
Sequence in context: A252731 A239066 A239067 * A342769 A130195 A071048
KEYWORD
nonn,easy
AUTHOR
Paul Curtz, Sep 22 2007
EXTENSIONS
More periods from R. J. Mathar, Feb 07 2009
STATUS
approved