OFFSET
1,1
REFERENCES
R. K. Guy, Unsolved Problems in Number Theory, B8.
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..10000
Paul Erdos, Some Unconventional Problems in Number Theory, Mathematics Magazine, Vol. 52, No. 2, Mar., 1979, pp. 67-70. See Problem 4. p. 68.
Paul Erdos, Some unconventional problems in number theory, Acta Mathematica Hungarica, 33(1):71-80, 1979.
MATHEMATICA
omegaBarrierQ[n_] := (For[m = 1, m < n, m++, If[m + PrimeOmega[m] > n, Return[False]]]; True); Select[Range[2, 1100], omegaBarrierQ] (* Amiram Eldar after Jean-François Alcover at A005236 *)
PROG
(PARI) is(n)=if(isprime(n-1) && isprime(n\2-1), for(k=3, log(n)\log(2), if(bigomega(n-k)>k, return(0))); 1, n<5 && n>1) \\ Charles R Greathouse IV, Sep 20 2012
CROSSREFS
KEYWORD
nonn
AUTHOR
Naohiro Nomoto, Mar 28 2002
STATUS
approved