OFFSET
1,2
LINKS
Michael De Vlieger, Table of n, a(n) for n = 1..10000
FORMULA
a(n) = 2^i1+2^i2+...+2^iz, where A005117(n) = p_i1*p_i2*p_i3*...*p_iz (p_i stands for the i-th prime, where the first prime is 2).
EXAMPLE
10 = 2*5 = p_1*p_3 -> 2^1+2^3 = 2+8 = 10.
MATHEMATICA
Total[2^PrimePi@ # &@ Map[First, FactorInteger@ #]] & /@ Select[Range@ 80, SquareFreeQ] (* Michael De Vlieger, Oct 01 2015 *)
PROG
(PARI) lista(nn) = {for (n=1, nn, if (issquarefree(n), if (n==1, x = n, f = factor(n); x = sum(k=1, #f~, 2^primepi(f[k, 1]))); print1(x, ", "); ); ); } \\ Michel Marcus, Oct 01 2015
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Jul 14 1999
STATUS
approved