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.

A261997 a(n) = prime(n)! - prime(n!).

This page as a plain text file.
%I A261997 #23 Sep 08 2015 14:59:20
%S A261997 0,3,107,4951,39916141,6227015357,355687428046967,121645100408347963,
%T A261997 25852016738884971417571,8841761993739701954543554805353,
%U A261997 8222838654177922817725562105174617
%N A261997 a(n) = prime(n)! - prime(n!).
%C A261997 a(n) is prime for n = 2, 3, 4, 5, 7.
%H A261997 Charles R Greathouse IV, <a href="/A261997/b261997.txt">Table of n, a(n) for n = 1..21</a>
%F A261997 a(n) = A039716(n) - A062439(n).
%F A261997 log a(n) ~ n log^2 n. - _Charles R Greathouse IV_, Sep 08 2015
%e A261997 For n=2, a(n) = prime(n)! - prime(n!) = prime(2)! - prime(2!) = 3.
%t A261997 Array[Prime[#]! - Prime[#!] &, {11}] (* _Michael De Vlieger_, Sep 08 2015 *)
%o A261997 (PARI) vector(11, n, prime(n)! - prime(n!))
%Y A261997 Cf. A039716, A062439.
%K A261997 nonn
%O A261997 1,2
%A A261997 _Altug Alkan_, Sep 08 2015