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.

A074626 Prime following the n-th Mersenne prime.

This page as a plain text file.
%I A074626 #26 Oct 30 2024 21:35:24
%S A074626 5,11,37,131,8209,131101,524309,2147483659,2305843009213693967,
%T A074626 618970019642690137449562141,162259276829213363391578010288167,
%U A074626 170141183460469231731687303715884105757
%N A074626 Prime following the n-th Mersenne prime.
%H A074626 Amiram Eldar, <a href="/A074626/b074626.txt">Table of n, a(n) for n = 1..18</a>
%F A074626 a(n) = prime(primepi(A000668(n))+1).
%F A074626 From _Amiram Eldar_, Aug 10 2024: (Start)
%F A074626 a(n) = A151800(A000668(n)).
%F A074626 a(n) = A000668(n) + A365160(n). (End)
%p A074626 a:= n-> nextprime(numtheory[mersenne]([n])):
%p A074626 seq(a(n), n=1..12);  # _Alois P. Heinz_, Oct 30 2024
%t A074626 Table[NextPrime[2^MersennePrimeExponent[n] - 1], {n, 1, 12}] (* _Amiram Eldar_, Aug 10 2024 *)
%Y A074626 Cf. A000668, A073715, A151800, A365160.
%K A074626 nonn,hard
%O A074626 1,1
%A A074626 _Labos Elemer_, Aug 26 2002