|
| |
|
|
A047205
|
|
Numbers that are congruent to {0, 3, 4} mod 5.
|
|
20
| |
|
|
0, 3, 4, 5, 8, 9, 10, 13, 14, 15, 18, 19, 20, 23, 24, 25, 28, 29, 30, 33, 34, 35, 38, 39, 40, 43, 44, 45, 48, 49, 50, 53, 54, 55, 58, 59, 60, 63, 64, 65, 68, 69, 70, 73, 74, 75, 78, 79, 80, 83, 84, 85, 88, 89, 90, 93, 94, 95, 98, 99, 100, 103, 104, 105, 108
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 1,2
|
|
|
LINKS
| Index to sequences with linear recurrences with constant coefficients, signature (1,0,1,-1).
|
|
|
FORMULA
| G.f. x^2*(3+x+x^2) / ( (1+x+x^2)*(x-1)^2 ). - R. J. Mathar, Oct 08 201
|
|
|
MATHEMATICA
| Select[Range[0, 200], MemberQ[{0, 3, 4}, Mod[#, 5]] &] (* From Vladimir Joseph Stephan Orlovsky, Feb 12 2012 *)
|
|
|
PROG
| (MAGMA) [ n : n in [0..150] | n mod 5 in [0, 3, 4] ]; - Vincenzo Librandi, Mar 31 2011
(PARI) a(n)=n\3*5+[-1, 0, 3][n%3+1] \\ Charles R Greathouse IV, Dec 22 2011
|
|
|
CROSSREFS
| Sequence in context: A100614 A173999 A127427 * A120631 A047601 A029675
Adjacent sequences: A047202 A047203 A047204 * A047206 A047207 A047208
|
|
|
KEYWORD
| nonn,easy,changed
|
|
|
AUTHOR
| N. J. A. Sloane (njas(AT)research.att.com).
|
| |
|
|