A236916 The first "octad" is 0, 1, 2, 2, 2, 2, 3, 3; thereafter add 4 to get the next octad.
0, 1, 2, 2, 2, 2, 3, 3, 4, 5, 6, 6, 6, 6, 7, 7, 8, 9, 10, 10, 10, 10, 11, 11, 12, 13, 14, 14, 14, 14, 15, 15, 16, 17, 18, 18, 18, 18, 19, 19, 20, 21, 22, 22, 22, 22, 23, 23, 24, 25, 26, 26, 26, 26, 27, 27, 28, 29, 30, 30, 30, 30, 31, 31, 32, 33, 34, 34, 34, 34, 35, 35, 36, 37, 38, 38, 38, 38, 39, 39, 40, 41, 42, 42
Offset: 0
Keywords
Links
- Index entries for linear recurrences with constant coefficients, signature (1,0,0,0,0,0,0,1,-1).
Programs
-
Mathematica
Flatten[NestList[4+#&,{0,1,2,2,2,2,3,3},10]] (* Harvey P. Dale, Oct 19 2015 *)
Formula
G.f.: (x+x^2+x^6+x^8)/((1-x)*(1-x^8)). - Robert Israel, Jun 09 2020