OFFSET
0,2
COMMENTS
All terms are distinct and belong to A304678.
LINKS
Rémy Sigrist, Table of n, a(n) for n = 0..8192
FORMULA
EXAMPLE
For n = 42:
- 42 = 2^1 + 2^3 + 2^5,
- a(42) = prime(1+1) * prime(1+3)^2 * prime(1+5)^3,
- a(42) = 3 * 7^2 * 13^3 = 322959.
PROG
(PARI) a(n) = { my (v=1, e); for (k=1, oo, if (n==0, return (v), n-=2^e=valuation(n, 2); v*=prime(1+e)^k)) }
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Rémy Sigrist, May 22 2021
STATUS
approved