The strobogrammatic properties of a given number vary by
typeface. For instance, in an
ornate serif type, the numbers 2 and 7 may be rotations of each other; however, in a
seven-segment display emulator, this correspondence is lost, but 2 and 5 are both symmetrical. There are sets of glyphs for writing numbers in base 10, such as the
Devanagari and
Gurmukhi of
India in which the numbers listed above are not strobogrammatic at all. In
binary, given a glyph for 1 consisting of a single line without hooks or serifs and a sufficiently symmetric glyph for 0, the strobogrammatic numbers are the same as the palindromic numbers and also the same as the
dihedral numbers. In particular, all
Mersenne numbers are strobogrammatic in binary.
Dihedral primes that do not use 2 or 5 are also strobogrammatic primes in binary. The natural numbers 0 and 1 are strobogrammatic in every base, with a sufficiently symmetric font, and they are the only natural numbers with this feature, since every natural number larger than one is represented by 10 in its own base. In
duodecimal, the strobogrammatic numbers are (using inverted two and three for ten and eleven, respectively) :0, 1, 8, 11, 2↊, 3↋, 69, 88, 96, ↊2, ↋3, 101, 111, 181, 20↊, 21↊, 28↊, 30↋, 31↋, 38↋, 609, 619, 689, 808, 818, 888, 906, 916, 986, ↊02, ↊12, ↊82, ↋03, ↋13, ↋83, ... Examples of strobogrammatic primes in duodecimal are: :11, 3↋, 111, 181, 30↋, 12↊1, 13↋1, 311↋, 396↋, 3↊2↋, 11111, 11811, 130↋1, 16191, 18881, 1↋831, 3000↋, 3181↋, 328↊↋, 331↋↋, 338↋↋, 3689↋, 3818↋, 3888↋, ... == Upside down year ==