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.

A122042 Numbers n such that (2^n+n)/(n+2) is prime.

This page as a plain text file.
%I A122042 #6 Jun 13 2017 10:14:34
%S A122042 13,19,55,469,3385
%N A122042 Numbers n such that (2^n+n)/(n+2) is prime.
%C A122042 All terms are also in A081765 = numbers n such that n+2 divides 2^(n-1)-1.
%t A122042 Do[If[PrimeQ[(2^n+n)/(n+2)],Print[n]],{n,1,5000}]
%o A122042 (PARI) is(n)=ispseudoprime((2^n+n)/(n+2)) \\ _Charles R Greathouse IV_, Jun 13 2017
%Y A122042 Cf. A081765.
%K A122042 more,nonn
%O A122042 1,1
%A A122042 _Zak Seidov_, Sep 14 2006
%E A122042 a(5) from _Alexander Adamchuk_, Sep 17 2006