OFFSET
1,2
LINKS
Robert Israel, Table of n, a(n) for n = 1..2500
EXAMPLE
3 is in the sequence because A014574(3)=12 is two thirds of 18 and 18 is also a twin prime average.
MAPLE
TPA:= 4: count:= 1:
for p from 5 by 6 while count < 2000 do
if isprime(p) and isprime(p+2) then count:= count+1; TPA:= TPA, p+1; fi
od:
TPA:= [TPA]:
TPAS:= convert(TPA, set):
T3:= map(`*`, TPAS, 2/3) intersect TPAS:
V:= Vector(nops(T3), proc(i) local k; member(T3[i], TPA, 'k'); k end proc):
convert(V, list); # Robert Israel, Aug 26 2025
CROSSREFS
KEYWORD
nonn
AUTHOR
Juri-Stepan Gerasimov, Dec 02 2011
STATUS
approved
