Search: id:A030461
Results 1-1 of 1 results found.
%I A030461
%S A030461 23,3137,8389,151157,157163,167173,199211,233239,251257,257263,
%T A030461 263269,271277,331337,353359,373379,433439,467479,509521,523541,
%U A030461 541547,601607,653659,661673,677683,727733,941947,971977,10131019
%N A030461 Primes that are concatenations of two consecutive primes.
%C A030461 Any term in the sequence (apart from the first) must be a concatenation
of consecutive primes differing by a multiple of 6. - Francis J McDonnell
(francis(AT)polytopia.freeserve.co.uk), Jun 26 2005
%H A030461 Zak Seidov, Table of n, a(n) for n=1..1000
%e A030461 a(2) is 3137 because 31 and 37 are consecutive primes and after concatenation
3137 is also prime. - Enoch Haga (Enokh(AT)comcast.net), Sep 30 2007
%p A030461 conc:=proc(a,b) local bb: bb:=convert(b,base,10): 10^nops(bb)*a+b end:
p:=proc(n) local w: w:=conc(ithprime(n),ithprime(n+1)): if isprime(w)=true
then w else fi end: seq(p(n),n=1..250); (Emeric Deutsch)
%o A030461 (PARI) {digits(n) = if(n==0,[0],u=[];while(n>0,d=divrem(n,10);n=d[1];
u=concat(d[2],u));u)} {m=1185;p=2;while(p