Smallest prime which has the form of the concatenation n, n-1, n-2, n-3, .., n-k for some k < n, or 0 if no such prime exists.

A087571

Smallest prime which has the form of the concatenation n, n-1, n-2, n-3, .., n-k for some k < n, or 0 if no such prime exists.

Terms

    a(0) =0a(1) =2a(2) =3a(3) =43a(4) =5a(5) =0a(6) =7a(7) =0a(8) =0a(9) =109a(10) =11a(11) =0a(12) =13a(13) =0a(14) =0a(15) =0a(16) =17a(17) =0a(18) =19a(19) =0a(20) =0a(21) =2221a(22) =23a(23) =2423a(25) =0a(26) =2726252423a(27) =0a(28) =29a(29) =0a(30) =31

External references