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.

A059789 Distance of 2*prime(n) from previous prime.

This page as a plain text file.
%I A059789 #5 Mar 17 2023 02:21:39
%S A059789 1,1,3,1,3,3,3,1,3,5,1,1,3,3,5,3,5,9,3,3,7,1,3,5,1,3,7,3,7,3,3,5,3,1,
%T A059789 5,9,1,9,3,9,5,3,3,3,5,1,1,3,5,1,3,11,3,3,5,3,15,1,7,5,3,9,1,3,7,3,1,
%U A059789 1,3,7,5,9,1,3,1,5,5,7,5,7,9,3,3,3,1,3,11,3,3,7,5,5,3,5,1,9,5,3,7,13,1,5,3
%N A059789 Distance of 2*prime(n) from previous prime.
%p A059789 with(numtheory): [seq(2*ithprime(k)-prevprime(2*ithprime(k)),k=1..256)];
%Y A059789 Cf. A005382-A005385.
%K A059789 nonn
%O A059789 0,3
%A A059789 _Labos Elemer_, Feb 22 2001