login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A125511
Octagonal numbers of the form C*(3C - 2) with 3C - 2 = k^2 and C a composite number.
1
96, 225, 1408, 3400, 9633, 12936, 22016, 43681, 53600, 78408, 93633, 130625, 152776, 205408, 308481, 350208, 446216, 696008, 854400, 943041, 1250656, 1493896, 1628033, 1923201, 2085000, 2439008, 3280256, 3774408, 4041441
OFFSET
1,1
LINKS
MAPLE
From R. J. Mathar, Apr 22 2010: (Start)
A000567 := proc(n) n*(3*n-2) ; end proc:
for n from 4 to 1600 do if not isprime(n) then if issqr(3*n-2) then printf("%d, ", A000567(n) ); end if; end if; end do: (End)
MATHEMATICA
Reap[Do[If[CompositeQ[n], If[IntegerQ[Sqrt[3n-2]], Sow[n(3n-2)]]], {n, 4, 10000}]][[2, 1]] (* Jean-François Alcover, Aug 19 2020 *)
CROSSREFS
Cf. A124106.
Sequence in context: A270435 A110231 A108609 * A124106 A304510 A268771
KEYWORD
nonn
AUTHOR
Giovanni Teofilatto, Jan 19 2007
EXTENSIONS
Extended beyond 22016 by R. J. Mathar, Apr 22 2010
STATUS
approved