OFFSET
1,2
COMMENTS
Multiplicative with a(A050376(m)) = Prime(m) = A000040(m). If k = 2^{i_1} + ... + 2^{i_j} is the binary representation of k, a(p^k) = a(p^2^{i_1}) * ... * a(p^2^{i_j}). [edited by Peter Munn, Jan 07 2020]
Equivalently, a(A050376(m)) = A000040(m); a(A059897(n,k)) = A059897(a(n), a(k)). - Peter Munn, Dec 30 2019
LINKS
Ivan Neretin, Table of n, a(n) for n = 1..10000
FORMULA
PROG
(PARI) al(n)={local(v, k, fm, m, p);
v=vector(n); v[1]=1; p=1;
for(k=2, n, fm=factor(k);
if(matsize(fm)[1]>1, m=fm[1, 1]^fm[1, 2]; v[k]=v[m]*v[k/m],
m=2^valuation(fm[1, 2], 2);
if(m==fm[1, 2], p=nextprime(p+1); v[k]=p,
m=fm[1, 1]^m; v[k]=v[m]*v[k/m])));
v}
CROSSREFS
KEYWORD
mult,nonn
AUTHOR
Franklin T. Adams-Watters, May 01 2009
STATUS
approved