login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A047231 Numbers that are congruent to {0, 3, 4} mod 6. 2
0, 3, 4, 6, 9, 10, 12, 15, 16, 18, 21, 22, 24, 27, 28, 30, 33, 34, 36, 39, 40, 42, 45, 46, 48, 51, 52, 54, 57, 58, 60, 63, 64, 66, 69, 70, 72, 75, 76, 78, 81, 82, 84, 87, 88, 90, 93, 94, 96, 99, 100, 102, 105, 106, 108 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

Vincenzo Librandi, Table of n, a(n) for n = 1..1000

Index to sequences with linear recurrences with constant coefficients, signature (1,0,1,-1).

FORMULA

a(n)= +a(n-1) +a(n-3) -a(n-4). G.f.: x^2*(3+x+2*x^2) / ( (1+x+x^2)*(x-1)^2 ). a(n) = 2*n+2-(11+A061347(n+1))/3. [From R. J. Mathar, Aug 05 2010]

MATHEMATICA

Select[Range[0, 600], MemberQ[{0, 3, 4}, Mod[#, 6]]&] (* Vincenzo Librandi, Jan 06 2013 *)

PROG

(MAGMA) [n: n in [0..120] | n mod 6 in [0, 3, 4]]; // Vincenzo Librandi, Jan 06 2013

CROSSREFS

Sequence in context: A032706 A153464 A189297 * A050131 A191326 A191185

Adjacent sequences:  A047228 A047229 A047230 * A047232 A047233 A047234

KEYWORD

nonn,easy

AUTHOR

N. J. A. Sloane.

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified May 22 11:08 EDT 2013. Contains 225526 sequences.