OFFSET
1,1
COMMENTS
For a prime p define g(p) as the least prime q>p such that 2*(p+1)-q is prime. Construct a simple (undirected) graph G as follows: The vertex set of G is the set of all primes, and for the vertices p and q>p there is an edge connecting p and q if and only if g(p)=q. Clearly G contains no cycle.
Conjecture: The graph G constructed above is connected and hence it is a tree!
LINKS
Zhi-Wei Sun, Table of n, a(n) for n = 1..10000
Zhi-Wei Sun, Conjectures involving primes and quadratic forms, arXiv:1211.1588.
EXAMPLE
a(2)=3 since 2(2+1)=3+3, and a(3)=5 since 2(3+1)=5+3.
MATHEMATICA
k=1
n=1
Do[If[m==1, Print[n, " ", 2]]; If[m==k, n=n+1; Do[If[PrimeQ[2(Prime[m]+1)-Prime[j]]==True, k=j; Print[n, " ", Prime[j]]; Goto[aa]], {j, m+1, PrimePi[2Prime[m]]}]];
Label[aa]; Continue, {m, 1, 1000}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Zhi-Wei Sun, Feb 25 2013
STATUS
approved