Ascending digit primes

Submit

Your name:
File:
Open code-statistics:

Language is selected by the extension of the file. See the list of supported languages to know the extension of your language.

Problem

Print all prime numbers which their digits is strictly ascending. The largest prime of this kind is 23456789.

Options

no deadline, the server will not save your submission

Sample input:_

*NOTHING*

Sample output:

2
3
5
7
13
17
19
23
29
37
47
59
67
79
89
127
137
139
149
157
167
179
239
257
269
347
349
359
367
379
389
457
467
479
569
1237
1249
1259
1279
1289
1367
1459
1489
1567
1579
1789
2347
2357
2389
2459
2467
2579
2689
2789
3457
3467
3469
4567
4679
4789
5689
12347
12379
12457
12479
12569
12589
12689
13457
13469
13567
13679
13789
15679
23459
23567
23689
23789
25679
34589
34679
123457
123479
124567
124679
125789
134789
145679
234589
235679
235789
245789
345679
345689
1234789
1235789
1245689
1456789
12356789
23456789

Ranking

iogii _

RankUserSizeTimeDateStatistics
1#c0ffee190.05832026/06/14 20:20:240B / 12B / 7B

Malbolge _

RankUserSizeTimeDateStatistics
1JOrE2035810.01702026/06/15 01:21:360B / ?B / ?B

Language Ranking_

RankLangUserSizeScore
1iogii#c0ffee1910000
2MalbolgeJOrE20358153

return to the top page