OFFSET
1,4
COMMENTS
To compute a(n): remove every prime number at leaf position in the prime tower factorization of n (the prime tower factorization of a number is defined in A182318).
LINKS
Rémy Sigrist, Table of n, a(n) for n = 1..10000
Rémy Sigrist, Illustration of first terms
FORMULA
EXAMPLE
See Links sections.
PROG
(PARI) a(n) = my (f=factor(n)); prod (i=1, #f~, f[i, 1]^if (f[i, 2]==1, 0, a(f[i, 2])))
CROSSREFS
KEYWORD
nonn,mult
AUTHOR
Rémy Sigrist, Jul 04 2019
STATUS
approved