|
| |
|
|
A047274
|
|
Numbers that are congruent to {0, 1} mod 7.
|
|
2
| |
|
|
0, 1, 7, 8, 14, 15, 21, 22, 28, 29, 35, 36, 42, 43, 49, 50, 56, 57, 63, 64, 70, 71, 77, 78, 84, 85, 91, 92, 98, 99, 105, 106, 112, 113, 119, 120, 126, 127, 133, 134, 140, 141, 147, 148, 154, 155, 161, 162, 168, 169
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 1,3
|
|
|
LINKS
| Index to sequences with linear recurrences with constant coefficients, signature (1,1,-1).
|
|
|
FORMULA
| a(n)=7*n-a(n-1)-13 (with a(1)=0) [From Vincenzo Librandi (vincenzo.librandi(AT)tin.it), Aug 05 2010]
a(n) = 7*n/2-19/4 -5*(-1)^n/4. - R. J. Mathar, Oct 08 2011
G.f. x^2*(1+6*x) / ( (1+x)*(x-1)^2 ). - R. J. Mathar, Oct 08 2011
a(n+1)=Sum_k>=0 {A030308(n,k)*A135092(k)}. - From DELEHAM Philippe, Oct 17 2011
|
|
|
EXAMPLE
| For n=2, a(2)=7*2-0-13=1; n=3, a(3)=7*3-1-13=7; n=4, a(4)=7*4-7-13=8 [From Vincenzo Librandi (vincenzo.librandi(AT)tin.it), Aug 05 2010]
|
|
|
MAPLE
| a[0]:=0:a[1]:=1:for n from 2 to 100 do a[n]:=a[n-2]+7 od: seq(a[n], n=0..49); - Zerinvary Lajos (zerinvarylajos(AT)yahoo.com), Mar 16 2008
|
|
|
PROG
| (PARI) forstep(n=0, 200, [1, 6], print1(n", ")) \\ Charles R Greathouse IV, Oct 17 2011
|
|
|
CROSSREFS
| Sequence in context: A196129 A136037 A085334 * A037368 A037970 A101517
Adjacent sequences: A047271 A047272 A047273 * A047275 A047276 A047277
|
|
|
KEYWORD
| nonn,easy
|
|
|
AUTHOR
| N. J. A. Sloane (njas(AT)research.att.com).
|
| |
|
|