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.

A095120 a(n) = prime(3^n - 1).

This page as a plain text file.
%I A095120 #13 Jul 01 2024 02:37:48
%S A095120 3,19,101,409,1531,5507,19273,65677,220859,733559,2412763,7867543,
%T A095120 25485179,82064011,262960069,839001707,2666790157,8448283721,
%U A095120 26684834629,84064182049,264194301341,828513359543,2593131866471,8101615860581,25270000074743
%N A095120 a(n) = prime(3^n - 1).
%H A095120 Amiram Eldar, <a href="/A095120/b095120.txt">Table of n, a(n) for n = 1..36</a> (calculated using the b-file at A038833)
%F A095120 a(n) = A151799(A038833(n)). - _Amiram Eldar_, Jul 01 2024
%t A095120 Prime[3^Range[25]-1] (* _Harvey P. Dale_, Dec 01 2018 *)
%o A095120 (PARI) f(n) = for(x=1,n,print1(prime(3^x-1)","))
%Y A095120 Cf. A038833, A151799.
%K A095120 nonn
%O A095120 1,1
%A A095120 _Cino Hilliard_, Jun 19 2004
%E A095120 More terms from _Harvey P. Dale_, Dec 01 2018