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!)
A275278 Numbers n >= 0 such that there exists a number m with sigma(m) and sigma(m+n) both prime. 1
0, 2, 5, 7, 9, 12, 14, 16, 21, 23, 39, 48, 55, 60, 62, 225, 264, 273, 280, 285, 287, 440, 615, 665, 672, 704, 713, 720, 725, 727, 945, 952, 1080, 1368, 1392, 1536, 1560, 1617, 1656, 1665, 1672, 1677, 1679, 1695, 1800, 2040, 2112, 2280, 2328, 2337, 2376, 2385 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Nonnegative numbers of the form A023194(i) - A023194(j). - Altug Alkan, Jul 22 2016
LINKS
EXAMPLE
5 is a term since sigma(4) = 7 and sigma(9) = 13 are both prime.
2385 is a term since sigma(16) = 31 and sigma(2401) = 2801 are both prime.
MATHEMATICA
Select[Range[0, 10^3], Function[n, Total@ Boole@ Map[And[PrimeQ@ DivisorSigma[1, #], PrimeQ@ DivisorSigma[1, # + n]] &, Range[10 n]] > 0]] (* Michael De Vlieger, Jul 22 2016 *)
CROSSREFS
Cf. A023194.
Sequence in context: A047386 A187416 A243808 * A184007 A003256 A029901
KEYWORD
nonn
AUTHOR
Chai Wah Wu, Jul 21 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 April 25 01:06 EDT 2024. Contains 371964 sequences. (Running on oeis4.)