login
A047301
Numbers that are congruent to {0, 2, 3, 4, 6} mod 7.
0
0, 2, 3, 4, 6, 7, 9, 10, 11, 13, 14, 16, 17, 18, 20, 21, 23, 24, 25, 27, 28, 30, 31, 32, 34, 35, 37, 38, 39, 41, 42, 44, 45, 46, 48, 49, 51, 52, 53, 55, 56, 58, 59, 60, 62, 63, 65, 66, 67, 69, 70, 72, 73, 74, 76, 77, 79
OFFSET
1,2
FORMULA
G.f. x^2*(2+x+x^2+2*x^3+x^4) / ( (x^4+x^3+x^2+x+1)*(x-1)^2 ). - R. J. Mathar, Oct 25 2011
a(n) = n + A057354(n-2). [Wesley Ivan Hurt, Jul 23 2013]
MAPLE
seq(k+floor((2/5)*(k-2)), k=1..70); # Wesley Ivan Hurt, Jul 23 2013
MATHEMATICA
LinearRecurrence[{1, 0, 0, 0, 1, -1}, {0, 2, 3, 4, 6, 7}, 60] (* Harvey P. Dale, May 08 2015 *)
CROSSREFS
Cf. A057354.
Sequence in context: A070118 A070124 A059097 * A186275 A214857 A362443
KEYWORD
nonn
STATUS
approved