nonn,base,changed
proposed
editing
nonn,base,changed
proposed
editing
editing
proposed
Table[Total[IntegerDigits[n]/.{0->6, 1->3, 2->4, 3->4, 6->5, 7->3, 8->7, 9->5}], {n, 0, 79}] (* Stefano Spezia, Dec 17 2021 *)
proposed
editing
editing
proposed
zero - 6 segments: 4 vertical, 2 horizontal
one - 3 segments: 2 vertical, 1 diagonal
two - 4 segments: 1 vertical, 2 horizontal, 1 diagonal
three - 4 segments: 2 horizontal, 2 diagonal
four - 4 segments: 3 vertical, 1 horizontal
five - 5 segments: 2 vertical, 3 horizontal
six - 5 segments: 2 vertical, 2 horizontal, 1 diagonal
seven - 3 segments: 1 vertical, 1 horizontal, 1 diagonal
eight - 7 segments: 4 vertical, 3 horizontal
nine - 5 segments: 2 vertical, 2 horizontal, 1 diagonal
.
number of segments
=====================================
digit total vertical horizontal diagonal
----- ----- -------- ---------- --------
0 6 4 2 0
1 3 2 0 1
2 4 1 2 1
3 4 0 2 2
4 4 3 1 0
5 5 2 3 0
6 5 2 2 1
7 3 1 1 1
8 7 4 3 0
9 5 2 2 1
The Russian post office postal service uses a special template for entering postal codes, which makes automatic sorting of their parcels faster. It has nine segments, and digits looks like this (please check the first link in a the Links section for a more readable, graphical example):
Template The template for a single digit contains nine segments: four vertical, three horizontal and two diagonal:
Using a combination of vertical, horizontal and/or diagonal segments, it is possible to create digits:
zero - 6 segments: 4 vertical, 2 horizontal
one - 3 segments: 2 vertical, 1 diagonal
two - 4 segments: 1 vertical, 2 horizontal, 1 diagonal
four - 4 segments: 3 vertical, 1 horizontal
five - 5 segments: 2 vertical, 3 horizontal
six - 5 segments: 2 vertical, 2 horizontal, 1 diagonal
nine - 5 segments: 2 vertical, 2 horizontal, 1 diagonal
proposed
editing
editing
proposed
Bartlomiej Malarz, <a href="/A350131/b350131.txt">Table of n, a(n) for n = 0..99999</a>
Wikipedia, <a href="https://en.wikipedia.org/wiki/Postal_codes_in_Russia#/media/File:Russian_postal_codes
Wikipedia, <a href="https://en.wikipedia.org/wiki/Postal_codes_in_Russia">Postal codes in Russia</a>.
proposed
editing
editing
proposed
As you can see, using Using combination of vertical, horizontal and/or diagonal segments, it is possible to create digits: