OFFSET
1,2
EXAMPLE
29319 is a term because 29319 = 3*29*337 and 29320 = 2*2*2*5*733.
MATHEMATICA
p =(FactorInteger@#)[[-1, 1]] & /@ Range@(10^6); Prepend[Flatten@Position[Transpose[{Most@p, IntegerReverse@Rest@p}], {a_, a_}], 1] (* Hans Rudolf Widmer, Jun 02 2024 *)
PROG
(PARI) gpf(k) = vecmax(factor(k)[, 1]); \\ A006530
isok(k) = (k==1) || fromdigits(Vecrev(digits(gpf(k)))) == gpf(k+1); \\ Michel Marcus, Jun 02 2024
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Jason Earls, Jun 08 2002
STATUS
approved