|
|
A160917
|
|
Averages of twin prime pairs which can be represented as a sum of three consecutive of such pair averages.
|
|
3
|
|
|
60, 282, 348, 522, 570, 618, 1788, 2112, 4050, 4422, 5880, 6198, 8232, 9678, 10458, 11700, 12072, 12162, 12378, 14010, 16140, 17598, 17838, 21648, 22698, 33348, 36342, 39228, 41610, 43782, 44088, 46272, 48780, 51198, 53088, 56910, 58230
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
|
|
LINKS
|
|
|
EXAMPLE
|
|
|
MATHEMATICA
|
PrimeNextTwinAverage[n_]:=Module[{k}, k=n+1; While[ !PrimeQ[k-1]||!PrimeQ[k+1], k++ ]; k]; lst={}; Do[If[PrimeQ[n-1]&&PrimeQ[n+1], a=n; b=PrimeNextTwinAverage[a]; c=PrimeNextTwinAverage[b]; a=a+b+c; If[PrimeQ[a-1]&&PrimeQ[a+1], AppendTo[lst, a]]], {n, 8!}]; lst
Module[{m=Mean/@Select[Partition[Prime[Range[10000]], 2, 1], #[[2]]-#[[1]] == 2&], t}, t=Total/@Partition[m, 3, 1]; Intersection[m, t]] (* Harvey P. Dale, Mar 06 2018 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|