The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A222409 Numbers of the form 8n + [0,3,6,4,7]. 1
0, 3, 6, 4, 7, 8, 11, 14, 12, 15, 16, 19, 22, 20, 23, 24, 27, 30, 28, 31, 32, 35, 38, 36, 39, 40, 43, 46, 44, 47, 48, 51, 54, 52, 55, 56, 59, 62, 60, 63, 64, 67, 70, 68, 71, 72, 75, 78, 76, 79, 80, 83, 86, 84, 87, 88, 91, 94, 92, 95, 96, 99, 102, 100, 103, 104, 107, 110, 108, 111 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
COMMENTS
Sorted sequence is A047515. - Philippe Deléham, Feb 23 2013
LINKS
Aviezri S. Fraenkel and Yuval Tanny, A class of Wythoff-like games, INTEGERS, to appear, 2013.
FORMULA
G.f.: x*(3+3*x-2*x^2+3*x^3+x^4)/((1-x)^2*(1+x+x^2+x^3+x^4)). - Bruno Berselli, Feb 23 2013
MAPLE
a:= n-> 8*iquo(n, 5, 'r') + [0, 3, 6, 4, 7][r+1]:
seq(a(n), n=0..80); # Alois P. Heinz, Jun 19 2013
MATHEMATICA
CoefficientList[Series[x (3 + 3 x - 2 x^2 + 3 x^3 + x^4) /((1 - x)^2 (1 + x + x^2 + x^3 + x^4)), {x, 0, 40}], x] (* Vincenzo Librandi, Jun 19 2013 *)
LinearRecurrence[{1, 0, 0, 0, 1, -1}, {0, 3, 6, 4, 7, 8}, 100] (* Jean-François Alcover, Feb 18 2016 *)
PROG
(Magma) m:=70; R<x>:=PowerSeriesRing(Integers(), m); [0] cat Coefficients(R!((3+3*x-2*x^2+3*x^3+x^4)/((1-x)^2*(1+x+x^2+x^3+x^4)))); // Bruno Berselli, Feb 23 2013
CROSSREFS
Sequence in context: A090963 A112374 A338014 * A093064 A197568 A136612
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Feb 22 2013
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 June 5 04:27 EDT 2024. Contains 373102 sequences. (Running on oeis4.)