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.

A182342 Primes of the form n*2^n + 5.

This page as a plain text file.
%I A182342 #8 Apr 26 2012 14:16:31
%S A182342 5,7,13,29,389,2053,49157,106501,402653189,1744830469,2473901162501,
%T A182342 184717953466373,774056185954309,31057439705591620336669228531717,
%U A182342 70745044697537026438728012485623813
%N A182342 Primes of the form n*2^n + 5.
%C A182342 These are similar to the Woodall primes, A050918, which are primes of the form n*2^n - 1.
%e A182342 5 = 0*2^0 + 5; 7 = 1*2^1 + 5; 13 = 2*2^2 + 5; 29 = 3*2^3 + 5; 389 = 6*2^6 + 5
%p A182342 #choose N large, then S is the desired set
%p A182342 f:=n->n*2^n + 5:
%p A182342 S:={}:
%p A182342 for n from 0 to N do if(isprime(f(n))) then S:=S union {f(n)}: fi: od
%Y A182342 Cf. A050918, A182354, A182352, A182353.
%K A182342 nonn
%O A182342 1,1
%A A182342 _Patrick Devlin_, Apr 25 2012