OFFSET
1,6
COMMENTS
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..65537
PROG
(PARI)
up_to = 65537;
A175067(n) = (n+if(!ispower(n), 0, sumdiv(n, d, if((d>1)&&(d<n)&&((d^valuation(n, d))==n), d, 0))));
A175083list(up_to) = { my(range = Map(), v = vector(up_to), x); for(n=1, up_to, x=A175067(n); mapput(range, x, 1+if(!mapisdefined(range, x), 0, mapget(range, x)))); for(n=1, up_to, v[n]=if(!mapisdefined(range, n), 0, mapget(range, n))); (v); };
v175083 = A175083list(up_to);
A175083(n) = v175083[n]; \\ Antti Karttunen, Sep 25 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
Jaroslav Krizek, Jan 24 2010
EXTENSIONS
More terms from Antti Karttunen, Sep 25 2018
STATUS
approved