A047416 Numbers that are congruent to {0, 1, 3, 4, 6} mod 8.
0, 1, 3, 4, 6, 8, 9, 11, 12, 14, 16, 17, 19, 20, 22, 24, 25, 27, 28, 30, 32, 33, 35, 36, 38, 40, 41, 43, 44, 46, 48, 49, 51, 52, 54, 56, 57, 59, 60, 62, 64, 65, 67, 68, 70, 72, 73, 75, 76, 78, 80, 81, 83, 84, 86, 88, 89
Offset: 1
Keywords
Programs
-
Mathematica
Select[Range[0,100],MemberQ[{0,1,3,4,6},Mod[#,8]]&] (* Harvey P. Dale, Jul 23 2025 *)
Formula
G.f.: x^2*(1+x)*(1 + x + 2*x^3)/((1-x)^2*(1 + x + x^2 + x^3 + x^4)). - R. J. Mathar, Oct 02 2008