OFFSET
1,2
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..10000
FORMULA
MATHEMATICA
Join[{0}, Table[If[PrimeQ[n], n, FactorInteger[n][[1, 1]]-1], {n, 2, 100}]] (* Harvey P. Dale, Apr 14 2023 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen & Michel Lagneau, Dec 09 2014
STATUS
approved