OFFSET
1,1
COMMENTS
If Andrica's conjecture is true, each term in the sequence is >=1.
Since Andrica's conjecture is bounded below only by zero, a(n) is not bounded above.
REFERENCES
C. A. Pickover, The Math Book, Sterling, NY, 2009; see p. 482.
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..10000
Eric Weisstein's World of Mathematics, Andrica's conjecture
FORMULA
Conjecture: for n>=4, a(n)>=2. More generally, for any m >=1, the set of k such that a(k)=m is finite. I.e., if n>=217, a(n)>=3; if n>=263, a(n)>=4; if n>=590, a(n)>=5; if n>=3385, a(n)>=6; ...
EXAMPLE
a(1) = round(1/(sqrt(3) - sqrt(2))) = round(1/(1.7320.. - 1.4142..)) = round(1/0.3178..) = round(3.1462..) = 3.
MATHEMATICA
Round[1/(Sqrt[#[[2]]]-Sqrt[#[[1]]])]&/@Partition[Prime[Range[100]], 2, 1] (* Harvey P. Dale, May 30 2022 *)
PROG
(PARI) a(n) = round(1/(sqrt(prime(n+1))-sqrt(prime(n)))) \\ Michel Marcus, May 22 2013
(Haskell)
a074976 n = a074976_list !! (n-1)
a074976_list = map (round . recip) $ zipWith (-) (tail rs) rs
where rs = map (sqrt . fromIntegral) a000040_list
-- Reinhard Zumkeller, Jan 04 2015
CROSSREFS
KEYWORD
nonn
AUTHOR
Werner D. Sand and Benoit Cloitre, Oct 06 2002
STATUS
approved