cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A187554 Odd nonprimes n such that n+d+1 is prime for all divisors d of n.

This page as a plain text file.
%I A187554 #12 Aug 21 2016 17:31:50
%S A187554 1,9,35,39,65,125,749,755,905,935,989,1469,1829,1859,2519,3161,4269,
%T A187554 4859,5165,5699,6005,7319,8309,8759,9155,9869,11129,12819,12851,14141,
%U A187554 14279,15539,15899,18689,19859,20019,25115,25535,26679,28049
%N A187554 Odd nonprimes n such that n+d+1 is prime for all divisors d of n.
%H A187554 Harvey P. Dale, <a href="/A187554/b187554.txt">Table of n, a(n) for n = 1..1000</a>
%F A187554 A120776(a(n+1)) = A120806(a(n+1)).
%e A187554 a(6) = 125 with divisors (1, 5, 25, 125) and the set of all n+d+1 is (127, 131, 151, 251) and these are all prime.
%t A187554 Select[Range[1,29001,2],!PrimeQ[#]&&AllTrue[#+Divisors[#]+1,PrimeQ]&] (* Requires Mathematica version 10 or later *) (* _Harvey P. Dale_, Aug 21 2016 *)
%Y A187554 Cf. A120776, A120806, A120811.
%K A187554 nonn
%O A187554 1,2
%A A187554 _Juri-Stepan Gerasimov_, Mar 26 2011