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.

A086214 Primes of the form 3^p-2 where p is prime.

This page as a plain text file.
%I A086214 #14 Jul 11 2024 01:23:51
%S A086214 7,241,450283905890997361,36472996377170786401
%N A086214 Primes of the form 3^p-2 where p is prime.
%C A086214 Sum of reciprocals = 0.1470065204505038552417181957...
%C A086214 The next two terms, 3^317-2 and 3^541-2, are too large to include. - _Jorge Coveiro_, Apr 05 2004
%H A086214 Amiram Eldar, <a href="/A086214/b086214.txt">Table of n, a(n) for n = 1..6</a>
%t A086214 Select[3^#-2&/@Prime[Range[20]],PrimeQ] (* _Harvey P. Dale_, Sep 24 2022 *)
%o A086214 (PARI) xtopm1(n,k,r) = { sr=0; forprime(p=2,n, y=k^p-r; if(isprime(y),print1(y","); sr+=1./y; ); ); print(); print(sr) }
%Y A086214 Cf. A086218.
%K A086214 nonn
%O A086214 1,1
%A A086214 _Cino Hilliard_, Aug 28 2003