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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A029739 Numbers that are congruent to {1, 3, 4} mod 6. 1
1, 3, 4, 7, 9, 10, 13, 15, 16, 19, 21, 22, 25, 27, 28, 31, 33, 34, 37, 39, 40, 43, 45, 46, 49, 51, 52, 55, 57, 58, 61, 63, 64, 67, 69, 70, 73, 75, 76, 79, 81, 82, 85, 87, 88, 91, 93, 94, 97, 99, 100, 103, 105, 106, 109, 111, 112, 115, 117, 118, 121, 123, 124 (list; graph; refs; listen; history; internal format)
OFFSET

1,2

LINKS

P. De Geest, More palindromic products of integer sequences: Three consecutive palindromes

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

FORMULA

a(n)=-2+Sum_{k=1..n}{(k mod 3)+[(k+1) mod 3]}, with n>=1 [From Paolo P. Lava (paoloplava(AT)gmail.com), Sep 03 2010]

G.f. x*(2*x+1)*(x^2+1) / ( (1+x+x^2)*(x-1)^2 ). - R. J. Mathar, Aug 24 2011

MATHEMATICA

Select[Range[0, 202], MemberQ[{1, 3, 4}, Mod[#, 6]] &] (* and *) Join[{1}, Accumulate[Total /@ CellularAutomaton[65, {1, 1, 0, 0, 1, 0}, 100]]] (* From Vladimir Joseph Stephan Orlovsky, Feb 11 2012 *)

PROG

(MAGMA)[ n: n in [0..150] | n mod 6 in {1, 3, 4} ]; [From Vincenzo Librandi, Dec 29 2010]

CROSSREFS

Sequence in context: A059010 A066928 A032726 * A005098 A185661 A002977

Adjacent sequences:  A029736 A029737 A029738 * A029740 A029741 A029742

KEYWORD

nonn,changed

AUTHOR

Patrick De Geest (pdg(AT)worldofnumbers.com)

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 February 12 16:14 EST 2012. Contains 205432 sequences.