|
| |
|
|
A047615
|
|
Numbers that are congruent to {0, 5} mod 8.
|
|
0
| |
|
|
0, 5, 8, 13, 16, 21, 24, 29, 32, 37, 40, 45, 48, 53, 56, 61, 64, 69, 72, 77, 80, 85, 88, 93, 96, 101, 104, 109, 112, 117, 120, 125, 128, 133, 136, 141, 144, 149, 152, 157, 160, 165, 168, 173, 176, 181, 184, 189, 192, 197, 200, 205, 208, 213, 216, 221, 224, 229, 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)=8*n-a(n-1)-11 (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)=5 and b(k)=2^(k+2)for k>0. - From DELEHAM Philippe, Oct 17 2011
|
|
|
MAPLE
| a:=n->add(4-(-1)^j, j=1..n):seq(a(n), n=0..59); # [From Zerinvary Lajos (zerinvarylajos(AT)yahoo.com), Dec 13 2008]
|
|
|
PROG
| (PARI) forstep(n=0, 200, [5, 3], print1(n", ")) \\ Charles R Greathouse IV, Oct 17 2011
|
|
|
CROSSREFS
| Sequence in context: A070128 A030606 A090661 * A140488 A058240 A097268
Adjacent sequences: A047612 A047613 A047614 * A047616 A047617 A047618
|
|
|
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
|
| |
|
|