|
|
A074041
|
|
Product of first n single (i.e., non-twin) primes.
|
|
1
|
|
|
2, 46, 1702, 79994, 4239682, 284058694, 22440636826, 1862572856558, 165768984233662, 16079591470665214, 1816993836185169182, 230758217195516486114, 30229326452612659680934, 4746004253060187569906638, 773598693248810573894781994
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
|
|
LINKS
|
|
|
FORMULA
|
|
|
EXAMPLE
|
The first four single primes are 2, 23, 37 and 47, therefore a(4) = 2*23*37*47 = 79994.
|
|
MATHEMATICA
|
nn=50; tps=Union[Flatten[Select[Partition[Prime[Range[nn]], 2, 1], Last[#]- First[#] ==2&]]]; ntps=Complement[Prime[Range[nn]], tps]; Rest[ FoldList[ Times, 1, ntps]] (* Harvey P. Dale, Mar 31 2011 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|