cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A200324 a(n) = floor(10*(sqrt(prime(n+1)) - sqrt(prime(n)))).

This page as a plain text file.
%I A200324 #32 Feb 16 2025 08:33:16
%S A200324 3,5,4,6,2,5,2,4,5,1,5,3,1,2,4,4,1,3,2,1,3,2,3,4,2,0,1,0,1,6,1,2,0,4,
%T A200324 0,2,2,1,2,2,0,3,0,1,0,4,4,1,0,1,1,0,3,1,1,1,0,1,1,0,2,4,1,0,1,3,1,2,
%U A200324 0,1,1,2,1,1,1,1,2,1,1,2,0,2,0,1,0,1,1
%N A200324 a(n) = floor(10*(sqrt(prime(n+1)) - sqrt(prime(n)))).
%C A200324 If Andrica's conjecture is true, a(n) is at most 1 when n gets very large.
%H A200324 Arkadiusz Wesolowski, <a href="/A200324/b200324.txt">Table of n, a(n) for n = 1..10000</a>
%H A200324 Carlos Rivera, <a href="http://www.primepuzzles.net/conjectures/conj_008.htm">Conjecture 8</a>
%H A200324 Eric Weisstein's World of Mathematics, <a href="https://mathworld.wolfram.com/AndricasConjecture.html">Andrica's Conjecture</a>
%H A200324 Marek Wolf, <a href="http://arxiv.org/abs/1010.3945">A Note on the Andrica Conjecture</a>, arXiv:1010.3945 [math.NT], 2010.
%F A200324 a(n) = floor(10*(sqrt(A000040(n+1)) - sqrt(A000040(n)))).
%e A200324 a(9) = 5 because 10*(sqrt(29) - sqrt(23)) = 5.8933328382....
%p A200324 A200324:=n->floor(10*(sqrt(ithprime(n+1))-sqrt(ithprime(n)))): seq(A200324(n), n=1..200); # _Wesley Ivan Hurt_, Jan 19 2017
%t A200324 Table[Floor[10*(Sqrt[Prime[n + 1]] - Sqrt[Prime[n]])], {n, 100}]
%t A200324 Floor[10(Sqrt[Last[#]]-Sqrt[First[#]])]&/@Partition[Prime[Range[90]],2,1] (* _Harvey P. Dale_, Aug 24 2012 *)
%Y A200324 Cf. A000040, A079063, A200474.
%K A200324 nonn,easy
%O A200324 1,1
%A A200324 _Arkadiusz Wesolowski_, Nov 18 2011