|
| |
|
|
A047467
|
|
Numbers that are congruent to {0, 2} mod 8.
|
|
2
| |
|
|
0, 2, 8, 10, 16, 18, 24, 26, 32, 34, 40, 42, 48, 50, 56, 58, 64, 66, 72, 74, 80, 82, 88, 90, 96, 98, 104, 106, 112, 114, 120, 122, 128, 130, 136, 138, 144, 146, 152, 154, 160, 162, 168, 170, 176, 178, 184, 186, 192, 194, 200, 202, 208, 210, 216, 218, 224, 226, 232
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 1,2
|
|
|
LINKS
| Index to sequences with linear recurrences with constant coefficients, signature (1,1,-1).
|
|
|
FORMULA
| a(n) = 4*n-5-(-1)^n = 2*A042948(n-1). G.f.: 2*x^2*(1+3x)/((1-x)^2*(1+x)). [From R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Sep 19 2008]
a(n)=8*n-a(n-1)-14 (with a(1)=0) [From Vincenzo Librandi (vincenzo.librandi(AT)tin.it), Aug 06 2010]
a(n+1)=Sum_k>=0 {A030308(n,k)*b(k)} with b(0)=2 and b(k)=2^(k+2)for k>0. - From DELEHAM Philippe, Oct 17 2011.
|
|
|
PROG
| (PARI) forstep(n=0, 200, [2, 6], print1(n", ")) \\ Charles R Greathouse IV, Oct 17 2011
|
|
|
CROSSREFS
| Sequence in context: A079930 A126002 * A079599 A110913 A038638 A197115
Adjacent sequences: A047464 A047465 A047466 * A047468 A047469 A047470
|
|
|
KEYWORD
| nonn,easy
|
|
|
AUTHOR
| N. J. A. Sloane (njas(AT)research.att.com).
|
|
|
EXTENSIONS
| More terms from Vincenzo Librandi (vincenzo.librandi(AT)tin.it), Aug 06 2010
|
| |
|
|