login
A152528
a(n) = p(n)*p(n+2) - 3*p(n+1), where p(n) is the n-th prime.
6
1, 6, 34, 58, 148, 196, 334, 482, 626, 980, 1160, 1468, 1798, 2138, 2614, 3056, 3770, 4130, 4678, 5390, 5822, 6782, 7784, 8698, 9688, 10498, 10906, 11764, 13504, 14422, 17006, 17798, 19996, 20542, 22940, 24142, 25730, 27698
OFFSET
1,2
MAPLE
A152528 := proc(n)
ithprime(n)*ithprime(n+2)-3*ithprime(n+1) ;
end proc: # R. J. Mathar, Jul 28 2015
MATHEMATICA
#[[1]]*#[[3]]-3*#[[2]]&/@Partition[Prime[Range[50]], 3, 1] (* Harvey P. Dale, Jul 14 2014 *)
KEYWORD
easy,nonn
AUTHOR
Omar E. Pol, Dec 06 2008
STATUS
approved