OFFSET
1,1
COMMENTS
4 and 8 are the only even numbers.
Numbers in the sequence which are not semiprimes: 8, 27, 125, 935, 1859, 2849, etc. - R. J. Mathar, Jan 06 2009
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
FORMULA
{k: k+1+d in A000040 for all 1 < d < k with d|k}.
EXAMPLE
For k = 8, the nontrivial divisors are 2 and 4 and (8+1) + 2 = 11 and (8+1) + 4 = 13 are both primes.
For 35 the nontrivial divisors are 5 and 7. With (35+1) + 5 = 41 and (35+1) + 7 = 43, both sums are primes.
MATHEMATICA
q[k_] := CompositeQ[k] && AllTrue[Divisors[k][[2 ;; -2]], PrimeQ[k + # + 1] &]; Select[Range[2000], q] (* Amiram Eldar, Aug 05 2024 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
J. M. Bergot, Dec 23 2008
EXTENSIONS
Added 4, replaced 121 by 125, extended, simplified definition, added non-semiprime examples. R. J. Mathar, Jan 06 2009
STATUS
approved