OFFSET
1,2
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..48
FORMULA
PROG
(PARI) A171135(n)=forprime(p=2, , if(bigomega(p+2*n)<3, return(p)))
a(n)=my(p=prime(n), m); while(bigomega(p+2*m++)>2 || A171135(m)!=p, ); m \\ Charles R Greathouse IV, Oct 21 2014
(Haskell)
a171137 n = head [m | m <- [1..], a171135 m == a000040 n]
-- Reinhard Zumkeller, Oct 21 2014
CROSSREFS
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Dec 04 2009
EXTENSIONS
Definition corrected; thanks to Harvey P. Dale, who pointed out the mistake. - Reinhard Zumkeller, Oct 21 2014
a(20)-a(28) from Charles R Greathouse IV, Oct 21 2014
STATUS
approved