|
Search: id:A047273
|
|
|
| A047273 |
|
Numbers that are congruent to {0, 1, 3, 5} mod 6. |
|
+0 1
|
|
| 0, 1, 3, 5, 6, 7, 9, 11, 12, 13, 15, 17, 18, 19, 21, 23, 24, 25, 27, 29, 30, 31, 33, 35, 36, 37, 39, 41, 42, 43, 45, 47, 48, 49, 51, 53, 54, 55, 57, 59, 60, 61, 63, 65, 66, 67, 69, 71, 72, 73, 75, 77, 78, 79, 81, 83, 84, 85, 87, 89, 90, 91, 93, 95, 96, 97, 99, 101, 102, 103
(list; graph; listen)
|
|
|
OFFSET
|
1,3
|
|
|
FORMULA
|
G.f.: x(1+x+x^2)/((1-x)^2(1+x^2))=x(1-x^2)(1-x^3)/((1-x)^3(1-x^4)). a(n)=n+A004524(n+1)=-a(-n).
Starting (1, 3, 5,...) = partial sums of (1, 2, 2, 1, 1, 2, 2, 1, 1,...). - Gary W. Adamson (qntmpkt(AT)yahoo.com), Jun 19 2008
|
|
PROGRAM
|
(PARI) a(n)=n+(n+1)\4+(n+2)\4
|
|
CROSSREFS
|
Cf. A004524.
Sequence in context: A031948 A103826 A079905 this_sequence A064802 A047584 A082984
Adjacent sequences: A047270 A047271 A047272 this_sequence A047274 A047275 A047276
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
njas
|
|
|
Search completed in 0.002 seconds
|