OFFSET
2,2
COMMENTS
All terms are odd.
LINKS
Alois P. Heinz, Table of n, a(n) for n = 2..471
FORMULA
MAPLE
a:= n-> (p-> (2^numtheory[order](2, p)-1)/p)(ithprime(n)):
seq(a(n), n=2..28);
PROG
(Python)
from sympy.ntheory import n_order, prime
def A352232(n): return (2**n_order(2, p:=prime(n))-1)//p # Chai Wah Wu, Mar 09 2022
CROSSREFS
KEYWORD
nonn
AUTHOR
Alois P. Heinz, Mar 08 2022
STATUS
approved