login
a(n) = (p(n)*p(n+2) - 3*p(n+1))/2, where p(n) is the n-th odd prime.
6

%I #4 Jul 28 2015 04:11:29

%S 3,17,29,74,98,167,241,313,490,580,734,899,1069,1307,1528,1885,2065,

%T 2339,2695,2911,3391,3892,4349,4844,5249,5453,5882,6752,7211,8503,

%U 8899,9998,10271,11470,12071,12865,13849,14687,15388,16823

%N a(n) = (p(n)*p(n+2) - 3*p(n+1))/2, where p(n) is the n-th odd prime.

%F a(n) = A152528(n+1)/2.

%p A152529 := proc(n)

%p j := n+1 ;

%p ithprime(j)*ithprime(j+2)-3*ithprime(j+1) ;

%p %/2 ;

%p end proc: # _R. J. Mathar_, Jul 28 2015

%Y Cf. A065091, A111071, A152527, A152528, A152530, A152531, A152532.

%K easy,nonn

%O 1,1

%A _Omar E. Pol_, Dec 06 2008