login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A054257 Concatenation of n in base 10 down up to base 2 is prime, all numbers are interpreted as decimals. 4

%I

%S 21,117,241,283,389,517,547,627,1219,1223,1247,1285,1287,1323,1467,

%T 1505,1591,1599,1689,1713,1817,1961,2203,2309,2377,2607,2837,2847,

%U 2899,2911,3227,3261,3499,3823,4007,4069,4183,4347,4403,4473,4507,4535,4637

%N Concatenation of n in base 10 down up to base 2 is prime, all numbers are interpreted as decimals.

%H Harvey P. Dale, <a href="/A054257/b054257.txt">Table of n, a(n) for n = 0..1000</a>

%e E.g. a(1)=21 -> 21{10}=23{9}=25{8}=30{7}=33{6}=41{5}=111{4}=210{3}=10101{2} -> 21232530334111121010101 is a prime.

%t Select[Range[5000],PrimeQ[FromDigits[Flatten[Table[IntegerDigits[#,n],{n,10,2,-1}]]]]&] (* _Harvey P. Dale_, May 25 2012 *)

%Y Cf. A054256, A054258.

%K nonn,base

%O 0,1

%A _Patrick De Geest_, Feb 15 2000.

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified January 22 18:06 EST 2019. Contains 319365 sequences. (Running on oeis4.)