OFFSET
1,1
LINKS
Daniel Starodubtsev, Table of n, a(n) for n = 1..10000
Chris Caldwell The first 1,000 primes.
EXAMPLE
If n=2, then n33 = 233 (prime);
If n=34, then n33 = 3433 (prime);
If n=74, then n33 = 7433 (prime).
MATHEMATICA
fQ[n_] := PrimeQ[FromDigits[ Join[ IntegerDigits[n], {3, 3}]]]; Select[ Range[203], fQ[ # ] &] (* Robert G. Wilson v, Feb 04 2005 *)
Select[Range[250], PrimeQ[FromDigits[Flatten[{IntegerDigits[#], IntegerDigits[33]}]]] &] (* Vincenzo Librandi, Jul 31 2015 *)
Select[Range[210], PrimeQ[100#+33]&] (* Harvey P. Dale, Jul 04 2017 *)
PROG
(Magma) [n: n in [0..250] | IsPrime(Seqint(Intseq(33) cat Intseq(n)))]; // Vincenzo Librandi, Jul 31 2015
(PARI) is(n)=isprime(100*n+33) \\ Charles R Greathouse IV, May 22 2017
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Parthasarathy Nambi, Jan 30 2005
EXTENSIONS
More terms from Robert G. Wilson v, Feb 04 2005
STATUS
approved