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.

A171376 Numbers k such that 1 + 3*10^k + 100^k is prime.

This page as a plain text file.
%I A171376 #46 Oct 08 2024 13:16:25
%S A171376 0,1,2,3,4,11,14,16,92,133,153,378,448,785,1488,1915,2297,3286,4755,
%T A171376 5825,7820,34442,34941
%N A171376 Numbers k such that 1 + 3*10^k + 100^k is prime.
%C A171376 All primes were certified with WinPFGW.
%C A171376 a(24) > 35000. - _Serge Batalov_, Dec 20 2015
%H A171376 Chris K. Caldwell, <a href="https://primes.utm.edu/primes/search.php?Description=%5E10%5E%25%2B3*10%5E%25%2B1&amp;OnList=all&amp;Number=20&amp;Style=HTML">Prime Pages, Database Search Output</a>
%F A171376 a(n) = (A100028(n-1) - 1)/2 for n>1. - _Jeppe Stig Nielsen_, Oct 06 2024
%e A171376 4 is in the sequence because 10^8 + 3 * 10^4 + 1 = 100030001 is prime.
%t A171376 Select[Range@ 1000, PrimeQ[1 + 3 10^# + 100^#] &] (* _Michael De Vlieger_, Dec 18 2015 *)
%o A171376 (PARI) \\sieve for the candidates:
%o A171376 {
%o A171376 lim=10^9; ns=6*10^5; pp=10^7; s=vectorsmall(ns);
%o A171376 forprime(p=11,lim,if(kronecker(5,p)==1,o=znorder(t=Mod(10,p));
%o A171376   q=sqrt(Mod(5,p));r=znlog((q-3)/2,t,o);
%o A171376   if(r,forstep(n=r,ns,o,s[n]=1);forstep(n=o-r,ns,o,s[n]=1)));
%o A171376   if(p>pp,pp+=10000000;print1(p" ")));
%o A171376 for(n=1,ns,if(!s[n],write("sieve_out_10301NGm1.txt", n)));
%o A171376 }
%o A171376 \\quick initial check for small sequence members
%o A171376 for(n=0,2297,if(ispseudoprime((10^n+3)*10^n+1),print1(n", ")))
%o A171376 \\ _Serge Batalov_, Dec 17 2015
%o A171376 (Magma) [n: n in [0..4*10^2] | IsPrime(1+3*10^n+100^n)]; // _Vincenzo Librandi_, Dec 22 2015
%Y A171376 Cf. A082622.
%Y A171376 Cf. A171411, A171459, A171514, A171554.
%K A171376 more,nonn
%O A171376 1,3
%A A171376 _Jason Earls_, Dec 07 2009
%E A171376 a(21)-a(23) from _Serge Batalov_, Dec 20 2015