A248928 Interleave (2*n+2)^2 with (2*n+3)^2, both listed n+1 times.
4, 9, 16, 16, 25, 25, 36, 36, 36, 49, 49, 49, 64, 64, 64, 64, 81, 81, 81, 81, 100, 100, 100, 100, 100, 121, 121, 121, 121, 121, 144, 144, 144, 144, 144, 144, 169, 169, 169, 169, 169, 169, 196, 196, 196, 196, 196, 196, 196, 225, 225, 225, 225, 225, 225, 225
Offset: 0
Examples
Seen as an irregular triangle: 4; 9; 16, 16; 25, 25; 36, 36, 36; 49, 49, 49; 64, 64, 64, 64; 81, 81, 81, 81; ...
Links
- Harvey P. Dale, Table of n, a(n) for n = 0..1000
Programs
-
Mathematica
Module[{nn=10,a,b},a=Table[PadRight[{},n+1,(2n+2)^2],{n,0,nn}];b= Table[ PadRight[ {},n+1,(2n+3)^2],{n,0,nn}];Riffle[a,b]]//Flatten (* Harvey P. Dale, Jun 10 2022 *)
-
PARI
vector(60, n, (sqrtint(4*n-3)+1)^2) \\ after Charles R Greathouse IV, Michel Marcus, Oct 27 2014
Formula
a(n) = A027434(n+1)^2.
Comments