

A047377


Numbers that are congruent to {0, 1, 4, 5} mod 7.


0



0, 1, 4, 5, 7, 8, 11, 12, 14, 15, 18, 19, 21, 22, 25, 26, 28, 29, 32, 33, 35, 36, 39, 40, 42, 43, 46, 47, 49, 50, 53, 54, 56, 57, 60, 61, 63, 64, 67, 68, 70, 71, 74, 75, 77, 78, 81, 82, 84, 85, 88, 89, 91, 92, 95, 96
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

1,3


LINKS

Table of n, a(n) for n=1..56.
Index to sequences with linear recurrences with constant coefficients, signature (1,0,0,1,1).


FORMULA

G.f. x^2*(1+3*x+x^2+2*x^3) / ( (1+x)*(x^2+1)*(x1)^2 ).  R. J. Mathar, Dec 04 2011


MAPLE

a(n+1)=Sum_k>=0 {A030308(n, k)*b(k)} with b(0)=1, b(1)=4 and b(k)=7*2^(k2) for k>1.  From Philippe Deléham, Oct 25 2011.


CROSSREFS

Sequence in context: A159698 A191276 A228919 * A188265 A032714 A032702
Adjacent sequences: A047374 A047375 A047376 * A047378 A047379 A047380


KEYWORD

nonn


AUTHOR

N. J. A. Sloane.


STATUS

approved



