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!)
A015865 Numbers k such that sigma(k) = sigma(k+5). 16
6, 46, 1030, 2673, 4738, 4785, 10437, 14025, 20038, 20326, 23914, 28702, 31101, 39273, 39669, 41349, 41554, 44709, 46366, 55918, 68638, 74205, 93682, 94365, 96790, 103678, 115245, 115642, 124785, 169990, 182830, 185073, 207118, 214090 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Using the method proposed by Guy and Shanks to construct solutions of sigma(k) = sigma(k + 1), it is possible to search for large terms of this sequence: If q = 3^(m+1) + 8 and p = (3^m*q - 5)/2 are primes, then 2*p is a term. This occurs for m = 0, 1 and 4, giving the terms 6, 46 and 20326. If q = 3^(m+1) - 22 and p = (3^m*q + 5)/2 are primes, then 3^m*q is a term. This occurs for m = 45 giving the term 26183890704263137277609197558886063678754201. In both cases there are no other solutions for m <= 10^4. - Amiram Eldar, May 29 2020
LINKS
Richard Guy and Daniel Shanks, A Constructed Solution of sigma(n) = sigma(n+1), The Fibonacci Quarterly, Vol. 12, No. 3 (1974), p. 299.
MATHEMATICA
Select[Range[215000], DivisorSigma[1, #]==DivisorSigma[1, # + 5] &] (* Vincenzo Librandi, Mar 10 2014 *)
Position[Partition[DivisorSigma[1, Range[215000]], 6, 1], _?(#[[1]] == #[[6]]&), 1, Heads->False]//Flatten (* Harvey P. Dale, Sep 18 2021 *)
PROG
(PARI) is(n)=sigma(n)==sigma(n+5) \\ Charles R Greathouse IV, Mar 09 2014
CROSSREFS
Sequence in context: A275031 A094655 A327364 * A276271 A145506 A256160
KEYWORD
nonn
AUTHOR
EXTENSIONS
Corrected and extended by T. D. Noe, Oct 31 2006
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 April 26 21:53 EDT 2024. Contains 372004 sequences. (Running on oeis4.)