login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A340715 Least positive number k such that sigma(k+1) = n * sigma(k). 2
14, 5, 1, 37033919, 14182439039 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
n | sigma(a(n)) | sigma(a(n)+1)
----+-------------+--------------
1 | 24 | 24
2 | 6 | 12
3 | 1 | 3
4 | 39940992 | 159763968
5 | 14182439040 | 70912195200
MATHEMATICA
k = 1; n = 1; Print[While[DivisorSigma[1, k + 1] != n*DivisorSigma[1, k], k; k k+]; k] (* Robert P. P. McKone, Jan 17 2021 *)
PROG
(PARI) {a(n) = my(k=1); while(sigma(k+1)!=n*sigma(k), k++); k}
CROSSREFS
Sequence in context: A322776 A040186 A124600 * A344046 A084676 A180848
KEYWORD
nonn,hard,more
AUTHOR
Seiichi Manyama, Jan 17 2021
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 23 19:18 EDT 2024. Contains 374553 sequences. (Running on oeis4.)