login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A101471 Numbers n such that the number n11 is prime. 4

%I #25 Apr 03 2023 10:36:10

%S 0,2,3,8,9,15,18,20,21,23,24,27,30,35,39,41,42,50,57,60,62,63,69,72,

%T 74,80,81,83,90,93,95,98,101,102,107,113,114,120,122,125,126,129,134,

%U 137,140,144,155,161,164,168,170,179,182,183,189,192,200,204,206,210,212

%N Numbers n such that the number n11 is prime.

%C n such that 100*n+11 is prime. - _Robert Israel_, Jul 30 2015

%H Robert Israel, <a href="/A101471/b101471.txt">Table of n, a(n) for n = 1..10000</a>

%H Chris Caldwell, <a href="https://t5k.org/lists/small/1000.txt">The first 1,000 primes</a>.

%e If n=2, then n11 = 211 (prime);

%e If n=50, then n11 = 5011 (prime);

%e If n=98, then n11 = 9811 (prime).

%p select(t -> isprime(100*t+11), [$0..1000]); # _Robert Israel_, Jul 30 2015

%t Select[ Range[0, 215], PrimeQ[ FromDigits[ Flatten[ IntegerDigits /@ { #, 1, 1}]]] &] (* _Robert G. Wilson v_, Feb 21 2005 *)

%t Select[Range[0,250],PrimeQ[100#+11]&] (* _Harvey P. Dale_, Oct 11 2018 *)

%o (Magma) [n: n in [0..250] | IsPrime(Seqint(Intseq(11) cat Intseq(n)))] /* or */ [n: n in [0..240] |IsPrime(100*n+11)]; // _Vincenzo Librandi_, Jul 31 2015

%o (PARI) is(n)=isprime(100*n+11) \\ _Charles R Greathouse IV_, Feb 20 2017

%Y Cf. A024912 (10n+1 is prime), A167442 (the actual primes 100n+11).

%K nonn,base

%O 1,2

%A _Parthasarathy Nambi_, Jan 30 2005, Feb 18 2005

%E Corrected and extended by _Robert G. Wilson v_, Feb 21 2005

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 27 05:51 EDT 2024. Contains 372009 sequences. (Running on oeis4.)