|
|
A152531
|
|
a(n) = (p(n)*p(n+2) - p(n+1))/2, where p(n) is the n-th odd prime.
|
|
6
|
|
|
8, 24, 40, 87, 115, 186, 264, 342, 521, 617, 775, 942, 1116, 1360, 1587, 1946, 2132, 2410, 2768, 2990, 3474, 3981, 4446, 4945, 5352, 5560, 5991, 6865, 7338, 8634, 9036, 10137, 10420, 11621, 12228, 13028, 14016, 14860, 15567, 17004
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
|
|
LINKS
|
|
|
FORMULA
|
|
|
MAPLE
|
j := n+1 ;
ithprime(j)*ithprime(j+2)-ithprime(j+1) ;
%/2 ;
|
|
MATHEMATICA
|
(First[#]*Last[#]-#[[2]])/2&/@Partition[Prime[Range[2, 50]], 3, 1] (* Harvey P. Dale, Oct 09 2014 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
easy,nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|