login
Numbers k such that k29 is prime.
0

%I #9 Sep 08 2022 08:45:16

%S 0,2,8,9,11,12,14,20,21,27,32,33,35,39,41,42,47,60,62,63,65,68,71,72,

%T 75,78,83,84,86,89,90,96,98,99,104,105,107,113,123,128,132,137,138,

%U 140,146,149,153,156,162,165,167,168,170,177,179,182,183,194,200,201,209,215,219,221,222,230,236,239

%N Numbers k such that k29 is prime.

%e If k=21, then k29 = 2129 (prime).

%e If k=42, then k29 = 4229 (prime).

%o (Magma) [ n: n in [1..700] | IsPrime(Seqint([9, 2] cat Intseq(n))) ]; // _Vincenzo Librandi_, Feb 03 2011 (program misses 0)

%K base,nonn

%O 1,2

%A _Parthasarathy Nambi_, Mar 18 2005