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.

A125113 Numbers n such that 2n-1, 4n-1, 8n-1, 16n-1, 32n-1 and 64n-1 are primes.

This page as a plain text file.
%I A125113 #11 Jan 20 2020 19:53:52
%S A125113 45,31710,63570,202635,405405,534600,561330,589305,666945,799350,
%T A125113 903045,979125,1082115,1122660,1164735,1303035,1424475,1620645,
%U A125113 1669995,1892100,1981020,2044440,2164230,2222415,2329470,2332125,2447445,2448855
%N A125113 Numbers n such that 2n-1, 4n-1, 8n-1, 16n-1, 32n-1 and 64n-1 are primes.
%H A125113 Harvey P. Dale, <a href="/A125113/b125113.txt">Table of n, a(n) for n = 1..1000</a>
%t A125113 Select[15*Range[200000], And @@ PrimeQ /@ ({2, 4, 8, 16, 32, 64}*# - 1) &] (* _Ray Chandler_, Nov 22 2006 *)
%t A125113 Select[15*Range[164000],AllTrue[# 2^Range[6]-1,PrimeQ]&] (* The program uses the AllTrue function from Mathematica version 10 *) (* _Harvey P. Dale_, Jan 20 2020 *)
%Y A125113 Cf. A006254, A124485, A124493, A124494, A124017, A124514, A124515, A124516.
%K A125113 nonn
%O A125113 1,1
%A A125113 _Artur Jasinski_, Nov 22 2006
%E A125113 Extended by _Ray Chandler_, Nov 22 2006