[go: up one dir, main page]

login
A047295
Numbers that are congruent to {0, 1, 2, 4, 6} mod 7.
0
0, 1, 2, 4, 6, 7, 8, 9, 11, 13, 14, 15, 16, 18, 20, 21, 22, 23, 25, 27, 28, 29, 30, 32, 34, 35, 36, 37, 39, 41, 42, 43, 44, 46, 48, 49, 50, 51, 53, 55, 56, 57, 58, 60, 62, 63, 64, 65, 67, 69, 70, 71, 72, 74, 76, 77, 78, 79, 81, 83, 84, 85, 86, 88, 90, 91, 92, 93, 95, 97, 98, 99, 100
OFFSET
1,3
FORMULA
G.f.: x^2*(1 + x + 2*x^2 + 2*x^3 + x^4) / ( (x^4 + x^3 + x^2 + x + 1)*(x-1)^2 ). - R. J. Mathar, Oct 25 2011
MATHEMATICA
Select[Range[0, 100], MemberQ[{0, 1, 2, 4, 6}, Mod[#, 7]]&] (* or *) LinearRecurrence[ {1, 0, 0, 0, 1, -1}, {0, 1, 2, 4, 6, 7}, 60] (* Harvey P. Dale, Nov 24 2018 *)
CROSSREFS
Sequence in context: A101616 A322678 A285137 * A039045 A050481 A285416
KEYWORD
nonn
STATUS
approved