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!)
A107073 Numbers n such that the string 35n is prime. 0
3, 9, 11, 17, 27, 29, 33, 39, 41, 47, 57, 59, 71, 81, 83, 93, 107, 111, 117, 129, 141, 149, 153, 159, 171, 201, 221, 227, 251, 257, 267, 279, 281, 291, 311, 317, 323, 327, 339, 353, 363, 381, 393, 401, 407, 419, 423, 437, 447, 449, 461, 491, 507, 509, 521, 527 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
If n=47 then 3547 is prime.
MAPLE
A055642 := proc(n) max(1, ilog10(n)+1) ; end: cat2 := proc(a, b) a*10^A055642(b)+b ; end: for n from 1 to 1000 do if isprime( cat2(35, n) ) then printf("%d, ", n) ; fi; od: # R. J. Mathar, Jan 16 2009
MATHEMATICA
Select[Range[600], PrimeQ[FromDigits[Join[{3, 5}, IntegerDigits[#]]]]&] (* Harvey P. Dale, Jun 06 2015 *)
PROG
(Magma) [ n: n in [1..900] | IsPrime(Seqint(Intseq(n) cat [5, 3])) ]; // Vincenzo Librandi, Feb 03 2011
CROSSREFS
Cf. A032666. - R. J. Mathar, Jan 16 2009
Sequence in context: A050538 A062227 A111324 * A227245 A173394 A111211
KEYWORD
nonn,base
AUTHOR
Parthasarathy Nambi, Jun 07 2005
STATUS
approved

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 25 05:56 EDT 2024. Contains 371964 sequences. (Running on oeis4.)