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!)
A244803 The 360 degree spoke (or ray) of a hexagonal spiral of Ulam. 7
1, 12, 47, 106, 189, 296, 427, 582, 761, 964, 1191, 1442, 1717, 2016, 2339, 2686, 3057, 3452, 3871, 4314, 4781, 5272, 5787, 6326, 6889, 7476, 8087, 8722, 9381, 10064, 10771, 11502, 12257, 13036, 13839, 14666, 15517, 16392, 17291, 18214, 19161, 20132, 21127, 22146, 23189, 24256, 25347 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
See A056105 example section for a formula.
From Colin Barker, Dec 12 2016: (Start)
a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3) for n>3.
G.f.: x*(1 + 2*x)*((1 + 7*x) / (1 - x)^3).
(End)
EXAMPLE
See A056105 example section for a diagram.
MAPLE
A244803:=n->12*n^2-25*n+14: seq(A244803(n), n=1..50); # Wesley Ivan Hurt, Jul 06 2014
MATHEMATICA
f[n_] := 12n^2 - 25n + 14; Array[f, 47]
PROG
(PARI) vector(50, n, 12*n^2 - 25*n + 14) \\ Michel Marcus, Jul 06 2014
(PARI) Vec(x*(1 + 2*x)*((1 + 7*x) / (1 - x)^3) + O(x^50)) \\ Colin Barker, Dec 12 2016
(Magma) [12*n^2-25*n+14 : n in [1..50]]; // Wesley Ivan Hurt, Jul 06 2014
CROSSREFS
Sequence in context: A197471 A159013 A022281 * A024183 A051673 A030623
KEYWORD
nonn,easy
AUTHOR
Robert G. Wilson v, Jul 06 2014
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 May 25 17:30 EDT 2024. Contains 372804 sequences. (Running on oeis4.)