OFFSET
1,1
LINKS
Hieronymus Fischer, Table of n, a(n) for n = 1..10000
EXAMPLE
a(2)=20, since 20=2*2*5 and (2^2+2^2+5^2)/3=33/3=11.
MATHEMATICA
amspQ[n_]:=PrimeQ[Mean[Flatten[Table[#[[1]], #[[2]]]&/@FactorInteger[ n]]^2]]; Select[Range[400], amspQ] (* Harvey P. Dale, Jan 21 2017 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Hieronymus Fischer, Nov 11 2007
EXTENSIONS
Minor edits by the author, May 06 2013
STATUS
approved