A325659 Smallest Brazilian composite in base n >= 2 which can be represented as a string of three or more 1's in this base.
15, 40, 21, 156, 259, 57, 585, 91, 111, 133, 1885, 183, 2955, 3616, 273, 5220, 343, 381, 8421, 9724, 507, 553, 14425, 651, 703, 20440, 813, 871, 931, 993, 1057, 37060, 1191, 1261, 1333, 1407, 56355, 1561, 1641, 70644, 1807, 1893, 1981, 2071, 2163, 2257, 2353, 2451, 127551
Offset: 2
Examples
15 = (1111)_2, 40 = (1111)_3, 21 = (111)_4, 156 = (1111)_5.
Links
- Wikipedia, Nombre brésilien
Programs
-
PARI
a(n) = {my(k=4, x); while (isprime(x=(n^(k-1)-1)/(n-1)), k++); x;} \\ Michel Marcus, May 17 2019
Extensions
More terms from Michel Marcus, May 17 2019
Comments