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”).

A283524
a(n) is the smallest k such that there is no x with sigma(x) = k*n.
1
2, 1, 3, 4, 1, 11, 3, 2, 1, 1, 1, 23, 2, 5, 3, 1, 1, 27, 1, 5, 1, 1, 1, 73, 1, 1, 1, 7, 1, 25, 5, 2, 1, 1, 1, 71, 1, 2, 3, 13, 1, 71, 1, 2, 1, 1, 1, 73, 1, 1, 1, 1, 1, 9, 1, 23, 5, 1, 1, 29, 1, 5, 3, 1, 1, 1, 1, 2
OFFSET
1,1
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..10000
PROG
(PARI) do(x)=my(v=List(), u=vectorsmall(x\1), t, n); for(k=1, x, t=sigma(k); if(t<=x, u[t]=1)); while(1, forstep(k=n++, x, n, if(u[k]==0, listput(v, k/n); next(2))); return(Vec(v))) \\ Charles R Greathouse IV, Mar 12 2017
CROSSREFS
Sequence in context: A249042 A262472 A049400 * A106382 A229287 A286539
KEYWORD
nonn
AUTHOR
EXTENSIONS
Corrected and extended by Charles R Greathouse IV, Mar 12 2017
STATUS
approved