|
| |
|
|
A047267
|
|
Numbers that are congruent to {0, 2, 5} mod 6.
|
|
1
|
|
|
|
0, 2, 5, 6, 8, 11, 12, 14, 17, 18, 20, 23, 24, 26, 29, 30, 32, 35, 36, 38, 41, 42, 44, 47, 48, 50, 53, 54, 56, 59, 60, 62, 65, 66, 68, 71, 72, 74, 77, 78, 80, 83, 84, 86, 89, 90, 92, 95, 96, 98, 101, 102, 104, 107, 108
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
|
OFFSET
|
1,2
|
|
|
LINKS
|
Table of n, a(n) for n=1..55.
Index to sequences with linear recurrences with constant coefficients, signature (1,0,1,-1).
|
|
|
FORMULA
|
a(n)= 3*n-3*floor(n/3)-(n^2 mod 3), with offset 0..a(0)=0 [From Gary Detlefs, Mar 19 2010]
G.f. x^2*(x+2)*(1+x) / ( (1+x+x^2)*(x-1)^2 ). - R. J. Mathar, Oct 08 2011
|
|
|
MAPLE
|
seq(3*n-3*floor(n/3)-(n^2 mod 3), n=0..54); [From Gary Detlefs, Mar 19 2010]
|
|
|
CROSSREFS
|
Cf. A011655 [From Gary Detlefs, Mar 19 2010]
Sequence in context: A108857 A132142 A045751 * A058591 A059009 A214642
Adjacent sequences: A047264 A047265 A047266 * A047268 A047269 A047270
|
|
|
KEYWORD
|
nonn
|
|
|
AUTHOR
|
N. J. A. Sloane.
|
|
|
STATUS
|
approved
|
| |
|
|