OFFSET
0,1
COMMENTS
Numbers n where 6n-5 is a square of a number type 6n-1.
Also sequence found by reading the line from 5, in the direction 5, 21,..., in the square spiral whose vertices are the generalized pentagonal numbers A001318. - Omar E. Pol, Jul 18 2012
The spiral mentioned above naturally appears on a "graphene" like lattice (planar net 6^3). The opposite diagonal is A080859. - Yuriy Sibirmovsky, Oct 04 2016
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..10000
Yuriy Sibirmovsky, Diagonals of a 'graphene' number spiral.
Leo Tavares, Illustration: Diamond Frame Stars
Index entries for linear recurrences with constant coefficients, signature (3,-3,1).
FORMULA
G.f.: (1+x)*(5+x)/(1-x)^3. - Colin Barker, Jan 09 2012
a(n) = 1 + A033579(n+1). - Omar E. Pol, Jul 18 2012
From Leo Tavares, Nov 24 2021: (Start)
MATHEMATICA
LinearRecurrence[{3, -3, 1}, {5, 21, 49}, 50] (* Vincenzo Librandi, Dec 01 2011 *)
Table[6 n^2 + 10 n + 5, {n, 0, 44}] (* or *)
CoefficientList[Series[(1 + x) (5 + x)/(1 - x)^3, {x, 0, 44}], x] (* Michael De Vlieger, Oct 04 2016 *)
PROG
(PARI) a(n)=6*n^2+10*n+5 \\ Charles R Greathouse IV, Nov 29 2011
(Magma) [6*n^2 + 10*n + 5: n in [0..60]]; // Vincenzo Librandi, Dec 01 2011
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Eleonora Echeverri-Toro, Nov 29 2011
STATUS
approved