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.

A126785 Numbers k such that 10*k + 11 is prime.

This page as a plain text file.
%I A126785 #29 Dec 27 2024 11:56:57
%S A126785 0,2,3,5,6,9,12,14,17,18,20,23,24,26,27,30,32,39,41,42,45,48,51,53,56,
%T A126785 59,62,63,65,68,69,74,75,80,81,87,90,93,96,98,101,102,104,105,108,114,
%U A126785 116,117,119,122,128,129,131,135,137,144,146,147,150,152,156,159,161
%N A126785 Numbers k such that 10*k + 11 is prime.
%H A126785 Robert Israel, <a href="/A126785/b126785.txt">Table of n, a(n) for n = 1..10000</a>
%e A126785 If n=98 then 10n + 11 = 991 (prime).
%p A126785 select(n -> isprime(10*n+11), [$0..500]); # _Robert Israel_, Jan 10 2019
%t A126785 Select[Range[0,161],PrimeQ[10#+11]&] (* _James C. McMahon_, Dec 27 2024 *)
%o A126785 (Magma) [ n: n in [0..200] | IsPrime(10*n+11) ]; // _Vincenzo Librandi_, Nov 23 2010
%o A126785 (PARI) is(n)=isprime(10*n+11) \\ _Charles R Greathouse IV_, Jun 13 2017
%Y A126785 Cf. A102342.
%K A126785 nonn,easy
%O A126785 1,2
%A A126785 _Parthasarathy Nambi_, Feb 18 2007