This site is supported by donations to The OEIS Foundation.

 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 * A154037 A248600 A240245 Adjacent sequences:  A275334 A275335 A275336 * A275338 A275339 A275340 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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified August 18 04:50 EDT 2019. Contains 326072 sequences. (Running on oeis4.)