|
| |
|
|
A111071
|
|
Difference between the product of two consecutive primes and the next prime.
|
|
6
| |
|
|
1, 8, 24, 64, 126, 202, 300, 408, 636, 862, 1106, 1474, 1716, 1968, 2432, 3066, 3532, 4016, 4684, 5104, 5684, 6468, 7290, 8532, 9694, 10296, 10912, 11550, 12190, 14220, 16500, 17808, 18894, 20560, 22342, 23544, 25424, 27048, 28712, 30786, 32208
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 1,2
|
|
|
LINKS
| C. P. Simoes, Teste de Desempenho Mental.
|
|
|
FORMULA
| a(n) = p(n)*p(n+1)-p(n+2)
|
|
|
EXAMPLE
| a(4)=7*11-13=64
|
|
|
MAPLE
| seq(ithprime(n)*ithprime(n+1)-ithprime(n+2), n=1..50); (Deutsch)
|
|
|
MATHEMATICA
| f[n_] := Prime[n]Prime[n + 1] - Prime[n + 2]; Table[ f[n], {n, 41}] (* Robert G. Wilson v *)
|
|
|
CROSSREFS
| Cf. A000040.
Sequence in context: A066605 A066497 A205963 * A090336 A200253 A199911
Adjacent sequences: A111068 A111069 A111070 * A111072 A111073 A111074
|
|
|
KEYWORD
| nonn
|
|
|
AUTHOR
| Christopher M. Tomaszewski (cmt1288(AT)comcast.net), Oct 09 2005
|
|
|
EXTENSIONS
| More terms from Robert G. Wilson v (rgwv(at)rgwv.com) and Emeric Deutsch (deutsch(AT)duke.poly.edu), Oct 10 2005
|
| |
|
|