OFFSET
0,2
COMMENTS
a(n) is the first occurrence of n in A060715.
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 0..10000
EXAMPLE
a(10)=40 since ten primes,namely,41,43,47,53,59,61,67,71,73,79,first arise between 40 and its double.
PROG
(Haskell)
import Data.List (elemIndex)
import Data.Maybe (mapMaybe)
a060756 n = a060756_list !! n
a060756_list = map (+ 1) $ mapMaybe (`elemIndex` a060715_list) [0..]
-- Reinhard Zumkeller, Jan 05 2012
CROSSREFS
KEYWORD
nonn
AUTHOR
Lekraj Beedassy, Apr 23 2001
EXTENSIONS
More terms from Larry Reeves (larryr(AT)acm.org), Jun 05 2001
STATUS
approved