OFFSET
1,8
COMMENTS
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
FORMULA
a(n) = A243283(n)-1.
EXAMPLE
A070003(402) = 10000, thus a(10000) = 402.
MATHEMATICA
Accumulate[Join[{0}, Table[If[Divisible[n, Last[Select[Divisors[n], PrimeQ]]^2], 1, 0], {n, 2, 90}]]] (* Harvey P. Dale, Sep 05 2018 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Jun 02 2014
STATUS
approved