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.

A182353 Primes of the form n*2^n - 5.

This page as a plain text file.
%I A182353 #12 Aug 06 2013 15:32:30
%S A182353 3,19,59,379,4603,1048571,44040187,7516192763,6614661952700411,
%T A182353 13510798882111483,477381560501272571,16717361816799281147,
%U A182353 4869940435459321626619,802726744224113772004900859
%N A182353 Primes of the form n*2^n - 5.
%C A182353 These are similar to the Woodall primes, A050918, and to sequence A182352, which are primes of the form n*2^n - 1 and of the form n*2^n - 3 respectively.  However, this sequence seems to grow rather more slowly than those.
%H A182353 Harvey P. Dale, <a href="/A182353/b182353.txt">Table of n, a(n) for n = 1..26</a>
%e A182353 3 = 2*2^2 - 5;  19 = 3*2^3 - 5;  59 = 4*2^4 - 5.
%p A182353 #choose N large, then S is the desired set
%p A182353 f:=n->n*2^n - 5:
%p A182353 S:={}:
%p A182353 for n from 0 to N do if(isprime(f(n))) then S:=S union {f(n)}: fi: od
%t A182353 Select[Table[n*2^n-5,{n,2,100}],PrimeQ] (* _Harvey P. Dale_, Aug 06 2013 *)
%Y A182353 Cf. A050918, A182352.
%K A182353 nonn
%O A182353 1,1
%A A182353 _Patrick Devlin_, Apr 25 2012