[go: up one dir, main page]

login
Product of successive primes minus 2.
2

%I #6 Nov 02 2020 19:09:00

%S 4,13,33,75,141,219,321,435,665,897,1145,1515,1761,2019,2489,3125,

%T 3597,4085,4755,5181,5765,6555,7385,8631,9795,10401,11019,11661,12315,

%U 14349,16635,17945,19041,20709,22497,23705,25589,27219,28889,30965,32397

%N Product of successive primes minus 2.

%H Harvey P. Dale, <a href="/A124669/b124669.txt">Table of n, a(n) for n = 1..1000</a>

%t Times@@@Partition[Prime[Range[50]],2,1]-2 (* _Harvey P. Dale_, Nov 02 2020 *)

%o (PARI) g(n) = forprime(x=1,n,if(isprime(x+2),y=x*(x+2)-2;print1(y",")))

%Y Cf. A123921.

%K easy,nonn

%O 1,1

%A _Cino Hilliard_, Dec 27 2006