|
|
A245034
|
|
a(n) = prime(n)^2 - 4*prime(n).
|
|
1
|
|
|
5, 21, 77, 117, 221, 285, 437, 725, 837, 1221, 1517, 1677, 2021, 2597, 3245, 3477, 4221, 4757, 5037, 5925, 6557, 7565, 9021, 9797, 10197, 11021, 11445, 12317, 15621, 16637, 18221, 18765, 21605, 22197, 24021, 25917, 27221, 29237, 31325, 32037, 35717, 36477, 38021, 38805, 43677, 48837
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
3,1
|
|
COMMENTS
|
The discriminant D of the quadratic equation n^2 + p*n + q = 0 is D = p^2 - 4*q. Let p = q = prime(n) then a(n) = D. 0 < n <= 2, D < 0, is the « casus irreducibilis ». So the offset is set to n = 3 to get positive integers as real solutions. Remark: a(0) is not defined, a(1) = -4, a(2) = -3.
|
|
LINKS
|
|
|
FORMULA
|
|
|
EXAMPLE
|
For n = 6, prime(6) = 13, so a(6) = 13^2 - 4*13 = 169 - 52 = 117.
|
|
MAPLE
|
|
|
MATHEMATICA
|
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|