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!)
A275337 Least k such that sigma(k*n) = sigma(k*n+1), or 0 if no such k exists. 3
14, 7, 319, 341, 537 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Terms 6 through 30, with 0 signifying no such k <= 10^6: {0, 2, 220708, 1649, 23039, 87, 0, 6141, 1, 179, 110354, 873, 0, 86, 0, 5813, 62, 58, 0, 37497, 17149, 699, 0, 33, 0}. - Michael De Vlieger, Jul 25 2016
a(28) = 16806458, from A002961 b-file. - Michel Marcus, Jul 26 2016
If a(n) = 0, then a(m*n) = 0 for all m > 0. If c is a divisor of a(n), then a(c*n) = a(n)/c. - Chai Wah Wu, Jul 26 2016
LINKS
Michel Marcus, Some terms
EXAMPLE
a(3) = 319 because sigma(319*3) = sigma(319*3+1) = 1440.
MATHEMATICA
Table[SelectFirst[Range[10^6], DivisorSigma[1, # n] == DivisorSigma[1, # n + 1] &], {n, 30}] /. k_ /; MissingQ@ k -> 0 (* Michael De Vlieger, Jul 25 2016, Version 10.2 *)
PROG
(PARI) a(n) = {my(k = 1); while (sigma(k*n) != sigma(k*n+1), k++); k; } \\ Michel Marcus, Jul 26 2016
CROSSREFS
Cf. A002961.
Sequence in context: A135638 A040185 A033964 * A337420 A154037 A248600
KEYWORD
nonn,more
AUTHOR
Altug Alkan, Jul 24 2016
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 March 28 12:26 EDT 2024. Contains 371254 sequences. (Running on oeis4.)