OFFSET
1,1
COMMENTS
26^2-5=671 -> 11*61, 26^2+5=681 -> 3*227,..
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..10000
FORMULA
a(n) >> n log n. - Charles R Greathouse IV, Sep 14 2015
MATHEMATICA
f[n_]:=Last/@FactorInteger[n]=={1, 1}||Last/@FactorInteger[n]=={2}; lst={}; Do[If[f[n], a=n^2-5; b=n^2+5; If[f[a]&&f[b], AppendTo[lst, n]]], {n, 9!}]; lst
Select[Range[12000], PrimeOmega[#]==PrimeOmega[#^2-5] == PrimeOmega[ #^2+5] == 2&] (* Harvey P. Dale, Aug 29 2021 *)
PROG
(PARI) issemi(n)=bigomega(n)==2
is(n)=if(n%2, isprime((n^2-5)\2) && isprime((n^2+5)\2) && issemi(n), isprime(n/2) && issemi(n^2-5) && issemi(n^2+5)) \\ Charles R Greathouse IV, Sep 14 2015
CROSSREFS
KEYWORD
nonn
AUTHOR
Vladimir Joseph Stephan Orlovsky, Feb 09 2010
EXTENSIONS
Edited by Charles R Greathouse IV, Apr 06 2010
STATUS
approved