OFFSET
1,1
COMMENTS
a(n) = 2 for n in A158866. - Robert Israel, Mar 07 2021
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
EXAMPLE
MAPLE
A195104 := proc(n)
k := A014574(n) ;
for i from 1 do
p := ithprime(i) ;
if isprime(p*k-1) and isprime(p*k+1) then
return p;
end if;
end do:
end proc:
seq(A195104(n), n=1..60) ; # R. J. Mathar, Dec 16 2011
CROSSREFS
KEYWORD
nonn
AUTHOR
Juri-Stepan Gerasimov, Dec 16 2011
EXTENSIONS
a(64) corrected by Robert Israel, Mar 07 2021
STATUS
approved