OFFSET
1,4
LINKS
John Tyler Rascoe, Table of n, a(n) for n = 1..1000
FORMULA
For p prime, a(p) = 1. - Michel Marcus, May 18 2014
For p prime, a(p^2) = A051156(n). - Michel Marcus, May 18 2014
EXAMPLE
a(12) = (2^12 -1)/((2^2 -1) (2^3 -1)) = 195.
PROG
(PARI) a(n) = my(f = factor(n)); (2^n-1)/prod(i=1, #f~, 2^f[i, 1] -1); \\ Michel Marcus, May 18 2014
CROSSREFS
KEYWORD
easy,nonn,changed
AUTHOR
Leroy Quet, Jul 03 2000
STATUS
approved