login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A132368
a(0), ..., a(7) are 0,1,2,3,6,4,5,7; for n >= 8, a(n) = a(n-8) + 8.
0
0, 1, 2, 3, 6, 4, 5, 7, 8, 9, 10, 11, 14, 12, 13, 15, 16, 17, 18, 19, 22, 20, 21, 23, 24, 25, 26, 27, 30, 28, 29, 31, 32, 33, 34, 35, 38, 36, 37, 39, 40, 41, 42, 43, 46, 44, 45, 47, 48, 49, 50, 51, 54, 52, 53, 55, 56, 57, 58, 59, 62, 60, 61, 63, 64, 65, 66, 67, 70, 68, 69, 71, 72
OFFSET
0,3
FORMULA
a(n)=a(n-1)+a(n-8)-a(n-9). O.g.f.: x*(1+x+x^2+3*x^3-2*x^4+x^5+2*x^6+x^7)/((1+x)*(x^2+1)*(x^4+1)*(x-1)^2). [From R. J. Mathar, Jul 22 2009]
CROSSREFS
Sequence in context: A111804 A246835 A213625 * A157248 A368229 A085515
KEYWORD
nonn
AUTHOR
Paul Curtz, Nov 09 2007
EXTENSIONS
Edited by N. J. A. Sloane, Nov 18 2007
STATUS
approved