PrimeBanner is a banner generator. The results are banners where the number values are prime.
Today, i saw a tweet from Fermat’s Library. And i thought, why not? Then i wrote this program to generate my own prime banners.
./primebanner -text trumae
* BANNER 111111111111111111111111110111111111111111111111111111111111111111 111111111111111111111111111111111111111111111111111111111111111111 118888888811188888811111881118811118111118111118888811111888888811 111118811111188111881111881118811118881888111188111881111881111111 111118811111188111881111881118811118888888111188111881111881111111 111118811111188888811111881118811118818188111188888881111888888111 111118811111188881111111881118811118811188111188111881111881111111 111118811111188188811111881118811118811188111188111881111881111111 111118811111188111881111888888811118811188111188111881111888888811 111111111111111111111111111111111111111111111111111111111111111111 111111111111111111111111111111111111111111111111111111111111111111 * NUMBER 111111111111111111111111110111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111118888888811188888811111881118811118111118111118888811111888888811111118811111188111881111881118811118881888111188111881111881111111111118811111188111881111881118811118888888111188111881111881111111111118811111188888811111881118811118818188111188888881111888888111111118811111188881111111881118811118811188111188111881111881111111111118811111188188811111881118811118811188111188111881111881111111111118811111188111881111888888811118811188111188111881111888888811111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111 The probability of the chosen number being prime is 0.999755859375
./primebanner -text galo
* BANNER 11111111111111111111111111111111111111111111 11111111111111111111111111111111111111111111 11888888111111888881111188111111111888888811 11881111811118811188111188111111111881118811 11881111111118811188111188111111111881118811 21881888111118888888111188111111111881118811 11881188811118811188111188111111111881118811 11881118811118811188111188111111111881118811 11888888111118811188111188888881111888888811 11111111111111111111111111111111111111111111 11111111111111111111111111111111111111111111 * NUMBER 1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111118888881111118888811111881111111118888888111188111181111881118811118811111111188111881111881111111118811188111188111111111881118811218818881111188888881111881111111118811188111188118881111881118811118811111111188111881111881118811118811188111188111111111881118811118888881111188111881111888888811118888888111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111 The probability of the chosen number being prime is 0.999755859375
Vinícius Valente Maciel <[email protected]>