OFFSET
1,1
COMMENTS
The Mathematica program gives the first 57 terms.
LINKS
EXAMPLE
MATHEMATICA
max = 57; Array[fa, max]; Do[fa[i] = 0, {i, 1, max}]; i = 4; done = 0; While[done < max, i++; p = Prime[i]; j = 0; ct = 0; While[j++; df = 6*j; df < p, If[(PrimeQ[p + df]) && (PrimeQ[p - df]), ct++]]; If[ct <= max, If[fa[ct] == 0, fa[ct] = i; done++]]]; Table[fa[i], {i, 1, max}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Lei Zhou, Oct 07 2011
STATUS
approved