[go: up one dir, main page]

login
Revision History for A350131 (Bold, blue-underlined text is an addition; faded, red-underlined text is a deletion.)

newer changes | Showing entries 11-20 | older changes
Number of segments lit to display the number n on a 9-segment display used by the Russian postal service.
(history; published version)
#42 by Michel Marcus at Sat Dec 18 05:48:41 EST 2021
KEYWORD

nonn,base,changed

STATUS

proposed

editing

Discussion
Sat Dec 18
05:49
Michel Marcus: kwd base since we are writing integers in base 10
#41 by Stefano Spezia at Fri Dec 17 14:28:42 EST 2021
STATUS

editing

proposed

Discussion
Fri Dec 17
17:26
Bartlomiej Malarz: Yes, the table is ok, thank you.
#40 by Stefano Spezia at Fri Dec 17 14:28:31 EST 2021
MATHEMATICA

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 *)

STATUS

proposed

editing

#39 by Jon E. Schoenfield at Fri Dec 17 10:57:42 EST 2021
STATUS

editing

proposed

Discussion
Fri Dec 17
11:00
Jon E. Schoenfield: I noticed that no two digits have the same set of segment counts except for the pair {6, 9} (not surprising given the rotational symmetry).
#38 by Jon E. Schoenfield at Fri Dec 17 10:56:51 EST 2021
EXAMPLE

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

Discussion
Fri Dec 17
10:57
Jon E. Schoenfield: Does this look okay?
#37 by Jon E. Schoenfield at Fri Dec 17 10:48:05 EST 2021
EXAMPLE

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

STATUS

proposed

editing

Discussion
Fri Dec 17
10:51
Jon E. Schoenfield: I'm working on a table ... should be ready in just a few minutes ...
#36 by Amiram Eldar at Fri Dec 17 07:51:26 EST 2021
STATUS

editing

proposed

Discussion
Fri Dec 17
09:23
Bartlomiej Malarz: Ok, sorry for misunderstanding.
#35 by Amiram Eldar at Fri Dec 17 07:49:30 EST 2021
LINKS

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.svg">Postal code template</a>.

Wikipedia, <a href="https://en.wikipedia.org/wiki/Postal_codes_in_Russia">Postal codes in Russia</a>.

STATUS

proposed

editing

Discussion
Fri Dec 17
07:51
Amiram Eldar: Once you have uploaded the b-file, deleting the link will not delete the file. So as Andrew said, *in future*, please do not upload a b-file before the sequence has been approved.
#34 by Bartlomiej Malarz at Fri Dec 17 05:02:53 EST 2021
STATUS

editing

proposed

#33 by Bartlomiej Malarz at Fri Dec 17 05:02:16 EST 2021
EXAMPLE

As you can see, using Using combination of vertical, horizontal and/or diagonal segments, it is possible to create digits: