OFFSET
1,8
COMMENTS
For the definition of a coreful divisor see A307958, and for the definition of an infinitary divisor see A037445.
If e > 0 is the exponent of the highest power of p dividing n (where p is a prime), then for each divisor d of n that is both a coreful and an infinitary divisor, the exponent of the highest power of p dividing d is a number k >= 1 such that the bitwise AND of e and k is equal to k.
The least term that does not equal 1 or 3 is a(128) = 7.
The range of this sequence is A282572.
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
FORMULA
EXAMPLE
a(8) = 3 since 8 has 4 divisors, 1, 2, 4 and 8, all are infinitary and 3 of them (2, 4 and 8) are also coreful.
MATHEMATICA
f[p_, e_] := 2^DigitCount[e, 2, 1] - 1; a[1] = 1; a[n_] := Times @@ f @@@ FactorInteger[n]; Array[a, 100]
PROG
(PARI) a(n) = factorback(apply(x -> 2^hammingweight(x) - 1, factor(n)[, 2]));
(Python)
from math import prod
from sympy import factorint
def A363329(n): return prod((1<<e.bit_count())-1 for e in factorint(n).values()) # Chai Wah Wu, Sep 01 2023
CROSSREFS
KEYWORD
nonn,mult
AUTHOR
Amiram Eldar, May 28 2023
STATUS
approved