|
| |
|
|
A047343
|
|
Numbers that are congruent to {1, 3, 4} mod 7.
|
|
1
|
|
|
|
1, 3, 4, 8, 10, 11, 15, 17, 18, 22, 24, 25, 29, 31, 32, 36, 38, 39, 43, 45, 46, 50, 52, 53, 57, 59, 60, 64, 66, 67, 71, 73, 74, 78, 80, 81, 85, 87, 88, 92, 94, 95, 99, 101, 102, 106, 108, 109, 113, 115, 116, 120, 122
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
|
OFFSET
|
1,2
|
|
|
COMMENTS
|
Also, numbers n such that kronecker(n+2, 7) = -1. - M. F. Hasler, Mar 15 2013
|
|
|
LINKS
|
Table of n, a(n) for n=1..53.
Index to sequences with linear recurrences with constant coefficients, signature (1,0,1,-1).
|
|
|
FORMULA
|
G.f. x*(1+2*x+x^2+3*x^3) / ( (1+x+x^2)*(x-1)^2 ). - R. J. Mathar, Dec 04 2011
|
|
|
MATHEMATICA
|
Flatten[Table[{7n + 1, 7n + 3, 7n + 4}, {n, 0, 19}]] (* Alonso del Arte, Mar 15 2013 *)
|
|
|
PROG
|
(PARI) A047343(n)=n\3*7+[-3, 1, 3][n%3+1] \\ M. F. Hasler, Mar 15 2013
(PARI) for(k=1, 200, kronecker(k+2, 7)==-1 & print1(k", ")) \\ For illustrative purpose of the comment. - M. F. Hasler, Mar 15 2013
|
|
|
CROSSREFS
|
Sequence in context: A185726 A152520 A191193 * A155730 A005047 A083317
Adjacent sequences: A047340 A047341 A047342 * A047344 A047345 A047346
|
|
|
KEYWORD
|
nonn,easy
|
|
|
AUTHOR
|
N. J. A. Sloane.
|
|
|
STATUS
|
approved
|
| |
|
|