|
| |
|
|
A047207
|
|
Numbers that are congruent to {0, 1, 3, 4} mod 5.
|
|
12
| |
|
|
0, 1, 3, 4, 5, 6, 8, 9, 10, 11, 13, 14, 15, 16, 18, 19, 20, 21, 23, 24, 25, 26, 28, 29, 30, 31, 33, 34, 35, 36, 38, 39, 40, 41, 43, 44, 45, 46, 48, 49, 50, 51, 53, 54, 55, 56, 58, 59, 60, 61, 63, 64, 65, 66, 68, 69, 70
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 1,3
|
|
|
LINKS
| Index to sequences with linear recurrences with constant coefficients, signature (1,0,0,1,-1).
|
|
|
FORMULA
| a(n) = floor((5n-3)/4) [From Gary Detlefs (gdetlefs(AT)aol.com), Mar 06 2010]
G.f. x^2*(1+2*x+x^2+x^3) / ( (1+x)*(x^2+1)*(x-1)^2 ). - R. J. Mathar, Oct 08 2011
a(n+1)=Sum_k>=0 {A030308(n,k)*b(k)} with b(0)=1, b(1)=3, b(k)=5*2^(k-2) for k>1. - From DELEHAM Philippe, Oct 17 2011.
|
|
|
MAPLE
| seq(floor((5*n-3)/4), n=1..57); [From Gary Detlefs (gdetlefs(AT)aol.com), Mar 06 2010]
|
|
|
PROG
| (PARI) forstep(n=0, 99, [1, 2, 1, 1], print1(n", ")) \\ Charles R Greathouse IV, Oct 17 2011
|
|
|
CROSSREFS
| Sequence in context: A103202 A188040 A099352 * A039132 A187970 A122488
Adjacent sequences: A047204 A047205 A047206 * A047208 A047209 A047210
|
|
|
KEYWORD
| nonn,easy
|
|
|
AUTHOR
| N. J. A. Sloane (njas(AT)research.att.com).
|
| |
|
|