login
A047309
Numbers that are congruent to {1, 3, 4, 5, 6} mod 7.
0
1, 3, 4, 5, 6, 8, 10, 11, 12, 13, 15, 17, 18, 19, 20, 22, 24, 25, 26, 27, 29, 31, 32, 33, 34, 36, 38, 39, 40, 41, 43, 45, 46, 47, 48, 50, 52, 53, 54, 55, 57, 59, 60, 61, 62, 64, 66, 67, 68, 69, 71, 73, 74, 75, 76, 78
OFFSET
1,2
FORMULA
G.f.: x*(1 + 2*x + x^2 + x^3 + x^4 + x^5) / ( (x^4 + x^3 + x^2 + x + 1)*(x-1)^2 ). - R. J. Mathar, Oct 25 2011
a(n) = a(n-1) + a(n-5) - a(n-6). - Wesley Ivan Hurt, Mar 09 2023
MATHEMATICA
Select[Range[100], MemberQ[{1, 3, 4, 5, 6}, Mod[#, 7]]&] (* Harvey P. Dale, Mar 30 2011 *)
CROSSREFS
Sequence in context: A375593 A098171 A039031 * A121502 A180644 A202110
KEYWORD
nonn
STATUS
approved