login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A049636 Congruent to 0 or 2 mod 3, but not equal to 0 or 3. 2
2, 5, 6, 8, 9, 11, 12, 14, 15, 17, 18, 20, 21, 23, 24, 26, 27, 29, 30, 32, 33, 35, 36, 38, 39, 41, 42, 44, 45, 47, 48, 50, 51, 53, 54, 56, 57, 59, 60, 62, 63, 65, 66, 68, 69, 71, 72, 74, 75, 77, 78, 80, 81, 83, 84, 86, 87, 89, 90, 92, 93, 95, 96, 98, 99, 101, 102, 104, 105, 107, 108 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
COMMENTS
a(n) = T(n, 2), array T as in A049627.
LINKS
FORMULA
O.g.f.: -(x+2)(x^2-x-1)/((1-x)^2*(1+x)). - R. J. Mathar, Aug 13 2008
MATHEMATICA
Join[{2}, Select[Range[4, 100], MemberQ[{0, 2}, Mod[#, 3]]&]] (* or *) With[{nn=100}, Join[{2}, Riffle[Range[5, nn, 3], Range[6, nn, 3]]]] (* Harvey P. Dale, Jul 14 2012 *)
PROG
(PARI) x='x+O('x^20); Vec(-(x+2)*(x^2-x-1)/((1-x)^2*(1+x))) \\ G. C. Greubel, Dec 15 2017
CROSSREFS
Cf. A007494.
Sequence in context: A047442 A005781 A157850 * A045573 A161152 A261905
KEYWORD
nonn
AUTHOR
EXTENSIONS
Terms a(38) onward added by G. C. Greubel, Dec 15 2017
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 08:08 EDT 2024. Contains 371922 sequences. (Running on oeis4.)