OFFSET
1,1
COMMENTS
The real part of these numbers is irrational.
REFERENCES
Gareth A. Jones and J. Mary Jones, Elementary Number Theory, Springer, 1998; pp. 221-222.
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..10000
FORMULA
a(n) = floor(sqrt(2*p(n)^2)), where p(n) = n-th prime. - N. J. A. Sloane, Feb 23 2015
MATHEMATICA
Floor[Sqrt[2*Prime[Range[80]]^2]] (* Wesley Ivan Hurt, Dec 02 2021 *)
PROG
(PARI) forprime(j=1, 400, print1(floor(sqrt(2*j^2))", "));
(Magma) [Floor(Sqrt(2*p^2)): p in PrimesUpTo(300)]; // G. C. Greubel, Jun 11 2024
(SageMath) [floor(sqrt(2*p^2)) for p in prime_range(1, 300)] # G. C. Greubel, Jun 11 2024
CROSSREFS
KEYWORD
nonn
AUTHOR
Cino Hilliard, Aug 22 2004
STATUS
approved