OFFSET
1,3
COMMENTS
a(8)=a(9)=0. With Mihăilescu's proof of Catalan's conjecture (see A001597) there can be no further occurrence of consecutive zeros. - Robert Munafo, May 10 2024
LINKS
Michael De Vlieger, Table of n, a(n) for n = 1..10000
FORMULA
a(n) = n - A167185(n). - Michel Marcus, May 10 2024
MATHEMATICA
nn = 10^4; s = {1}~Join~Select[Union@ Flatten@ Table[a^2*b^3, {b, Surd[nn, 3]}, {a, Sqrt[nn/b^3]}], PrimePowerQ]; Table[n - TakeWhile[s, # <= n &][[-1]], {n, nn}] (* Michael De Vlieger, May 11 2024 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Amarnath Murthy, Mar 24 2002
EXTENSIONS
Revised by Robert Munafo and Sean A. Irvine, May 10 2024
STATUS
approved