OFFSET
1,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
FORMULA
EXAMPLE
prime(10)*prime(12) = 29*37 = 1073 = 32*32+49, therefore a(10)=32; A073274(10) = prime(11)-a(10) = 31-32 = -1.
MATHEMATICA
Table[Floor[Sqrt[Prime[n] Prime[n + 2]]], {n, 60}] (* Vincenzo Librandi, Dec 12 2015 *)
PROG
(Magma) [Floor(Sqrt(NthPrime(n)*NthPrime(n+2))): n in [1..60]]; // Vincenzo Librandi, Dec 12 2015
(PARI) a(n) = sqrtint(prime(n)*prime(n+2)); \\ Michel Marcus, Dec 12 2015
CROSSREFS
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Jul 22 2002
STATUS
approved