OFFSET
1,1
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
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
KEYWORD
nonn
AUTHOR
Giovanni Teofilatto, Jan 19 2007
EXTENSIONS
Extended beyond 22016 by R. J. Mathar, Apr 22 2010
STATUS
approved