OFFSET
1,2
COMMENTS
FORMULA
EXAMPLE
sqrt(5)=1*sqrt(5), a(n)=1.
sqrt(16)=4*sqrt(1), a(n)=4.
sqrt(24)=2*sqrt(6), a(n)=2.
MATHEMATICA
Table[Sqrt[Prime[n+1]^2-Prime[n]^2], {n, 1, 100}]/.Sqrt[_]->1
PROG
(PARI) a(n) = my(d=prime(n+1)^2 - prime(n)^2); sqrtint(d/core(d)); \\ Michel Marcus, Apr 27 2016
CROSSREFS
KEYWORD
nonn
AUTHOR
Benedict W. J. Irwin, Apr 20 2016
STATUS
approved