login
A331299
a(n) = min(n, A241909(n)).
5
1, 2, 3, 3, 5, 6, 7, 5, 6, 10, 11, 12, 13, 14, 15, 7, 17, 15, 19, 20, 21, 22, 23, 24, 12, 26, 10, 28, 29, 30, 31, 11, 33, 34, 35, 35, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 24, 45, 51, 52, 53, 21, 55, 56, 57, 58, 59, 60, 61, 62, 63, 13, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 30, 76, 72, 78, 79, 80, 14, 82
OFFSET
1,2
FORMULA
a(n) = min(n, A241909(n)).
PROG
(PARI)
A241909(n) = if(1==n||isprime(n), 2^primepi(n), my(f=factor(n), h=1, i, m=1, p=1, k=1); while(k<=#f~, p = nextprime(1+p); i = primepi(f[k, 1]); m *= p^(i-h); h = i; if(f[k, 2]>1, f[k, 2]--, k++)); (p*m));
A331299(n) = min(n, A241909(n));
CROSSREFS
Cf. A241909.
Cf. also A331170, A331280.
Sequence in context: A349390 A099209 A099208 * A052274 A353842 A353832
KEYWORD
nonn
AUTHOR
Antti Karttunen, Jan 17 2020
STATUS
approved