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.

A104897 Difference between (n+prime(n)) and next prime.

This page as a plain text file.
%I A104897 #5 Oct 09 2013 08:50:14
%S A104897 2,2,3,2,1,4,5,2,5,2,1,4,5,2,5,2,3,4,3,6,3,2,1,14,5,4,1,2,1,6,5,4,3,6,
%T A104897 7,4,3,10,5,10,3,4,5,2,9,6,5,6,1,2,9,2,13,2,1,12,5,2,1,6,3,4,3,4,1,6,
%U A104897 3,4,3,2,7,2,3,2,3,2,1,4,7,2,3,6,7,4,17
%N A104897 Difference between (n+prime(n)) and next prime.
%F A104897 a(n)=A104860(n)-A014688(n).
%o A104897 (PARI) a(n) = nextprime(n + prime(n) + 1) - (n + prime(n)); \\ _Michel Marcus_, Oct 09 2013
%Y A104897 Cf. A014688, A104860.
%K A104897 nonn
%O A104897 1,1
%A A104897 _Zak Seidov_, Apr 25 2005
%E A104897 More terms from _Michel Marcus_, Oct 09 2013