login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A309806
Values of k in k-imperfect numbers.
3
1, 2, 3, 2, 2, 3, 3, 2, 2, 3, 3, 2, 3, 3, 3, 3, 3, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3
OFFSET
1,2
COMMENTS
The value of k in k-imperfect numbers, A127724. Except for the first term, all terms are > 1.
It appears that the first instance of a(n)=4 is for n=98 (993803899780063855042560), while no integer is currently known to be 5-imperfect. - Michel Marcus, Aug 20 2019
A number n is called k-imperfect iff k := n/rho(n) is an integer, where rho = A206369 is a sum-of divisors function with alternating signs. - M. F. Hasler, Feb 14 2020
FORMULA
a(n) = m/A206369(m) with m = A127724(n). - M. F. Hasler, Feb 14 2020
EXAMPLE
The first 3 terms of A127724 are 1, 2, and 6, that are respectively 1-, 2-, and 3-imperfect. So the first 3 terms of this sequence are 1, 2 and 3.
MATHEMATICA
{1}~Join~Map[If[IntegerQ@ #, #, Nothing] &[#/Times @@ (Sum[(-1)^(#2 - k) #1^k, {k, 0, #2}] & @@@ FactorInteger[#])] &, Range[2, 10^6]] (* Michael De Vlieger, Feb 15 2020 *)
PROG
(PARI) lista(lim) = {my(v = []); for (i=1, 4, my(vi = solveIMP(1, i, lim)); v = concat (v, vi); ); apply(x->x/rhon(x), vecsort(v)); } \\ uses the script in links section
lista(10^24) \\ to get 98 terms; Michel Marcus, Aug 20 2019
(PARI) A309806(n)=(n=A127724(n))/A206369(n) \\ M. F. Hasler, Feb 14 2020
CROSSREFS
Cf. A127724, A127725 (2-imperfect), A127726 (3-imperfect), A206369 (rho).
Sequence in context: A281976 A300708 A240755 * A256170 A051686 A079294
KEYWORD
nonn,more
AUTHOR
Jud McCranie, Aug 17 2019
EXTENSIONS
a(45)-a(50) from Giovanni Resta, Aug 19 2019
STATUS
approved