OFFSET
1,3
COMMENTS
The star numbers referred to here are those defined as the sum of the n-th square and four times the (n-1)st triangular number: 3n^2 - 2n.
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..503
EXAMPLE
a(2)=1 because
...
.*.
...
plus
..*...*...*...*
........*......
..*...........*
...*.........*.
..*...........*
........*......
..*...*...*...*
is
..*...*...*...*
........*......
..*...........*
...*....*....*.
..*...........*
........*......
..*...*...*...*
PROG
(PARI) list(lim)=my(x=0, y=1, v=List(), t); lim=sqrt(12*lim+4)/6+1/3; while(x<=lim, listput(v, x*(3*x-2)); t=49*x+20*y+8; y=120*x+49*y+20; x=t); x=1; y=3; while(x<=lim, listput(v, x*(3*x-2)); t=49*x+20*y+8; y=120*x+49*y+20; x=t); vecsort(Vec(v)) \\ Charles R Greathouse IV, Jul 24 2011
CROSSREFS
KEYWORD
nonn
AUTHOR
Jason Earls, Jun 13 2003
EXTENSIONS
a(10)-a(12) from Donovan Johnson, May 24 2009
Offset corrected and a(13)-a(14) from Donovan Johnson, Jul 24 2011
STATUS
approved