Coding rules in tables

Tables that turn numbers into symbols by a hidden property: parity, divisibility, digit sum, comparing digits, a remainder. Find the one rule that fits every column and apply it to a new number.

  • Intermediate
  • 22 min
  • 12 questions
  • Lesson 15 of 53

In this lesson you will learn

  • Tell a property code from a digit code.
  • Test candidate properties (parity, divisibility, digit sum, comparing digits, remainder) against every column.
  • Apply the rule to a new number or pick the number with a given code.

In the previous lesson every digit had its own symbol. Here a symbol carries a meaning: one says “even”, another says “divisible by 3”. The table shows a few numbers with their codes, and you must discover what each symbol says. It is a small detective story: the suspects are properties of numbers, and only one of them matches the evidence in every column.

Two kinds of code tables

  • Property code. The whole number gets a group of symbols. Each place in the group answers one yes/no question: is it even? divisible by 3? The length of the code does not depend on the number of digits.
  • Digit code. Each digit gets a symbol, but according to a property. So different digits can share a symbol (2 and 0 — both ■). The code is as long as the number.

The lengths tell you the kind. If 7 and 315 both have codes of three symbols, it is a property code. If a code always has as many symbols as the number has digits, it is a digit code.

Sign up free to keep reading

The rest of the lesson, the quiz and your notes open with an Educora account. Signing up takes a minute, and your progress is saved on all your devices.

The suspects: properties to test

TR-YÖS rules use simple school properties. Test them in a fixed order, starting with the quickest. The picture shows the “passport” of the number 64: the properties that should come to mind when you look at a number.

64✓even (last digit 4)✗not divisible by 3 (6 + 4 = 10)✗not divisible by 5✓divisible by 4 (64 = 4 · 16)10digit sum✓tens > units (6 > 4)✗not a prime
A number's passport: a coding rule is usually one of these properties.
PropertyQuick test
even / oddlast digit
divisible by 5 (10)last digit 0 or 5 (0)
divisible by 3 / 9digit sum divisible by 3 / 9
divisible by 4the number formed by the last two digits
digit sumlarge/small, even/odd
comparing digitstens > units, <, =
sizeabove/below a round number (50, 100)
remainderremainder on division by 3 or 4
Number1225274033
Code●▲○△○▲●△○▲
Table for Example 1

Example 1: a property code with two questions

Problem

By the rule of the table, what are the codes of 45 and 52?

Show solutionHide solution

Solution

1) ● and ○ appear only in place 1, ▲ and △ only in place 2: each place answers one question.
2) Place 1: ● — 12, 40; ○ — 25, 27, 33. 12 and 40 are even, the others odd. Rule: ● even, ○ odd. All five columns ✓.
3) Place 2: ▲ — 12, 27, 33; △ — 25, 40. Try “the digit sum is odd”: 12 (sum 3) gives ▲ ✓, but 25 (sum 7) would also give ▲ ✗ — reject. Try “divisible by 3”: 12, 27, 33 — yes; 25, 40 — no ✓.
4) 45: odd → ○; 4 + 5 = 9 → divisible by 3 → ▲. 45 → ○▲.
5) 52: even → ●; 5 + 2 = 7 → not divisible → △. 52 → ●△.
27Place 1:is it even?● yes, ○ noPlace 2:divisible by 3?▲ yes, △ no
Property code: each place of the group answers one question. 27 is odd and divisible by 3 → ○▲.

One column is not enough

The most common trap is a rule that fits a few columns. Always check every column: one failure is enough to reject a rule.

Number835891416934
Code■□■■□□
Table for Example 2

Example 2: a misleading rule

Problem

By the rule of the table, what is the code of 52?

Show solutionHide solution

Solution

1) At first sight large numbers get ■ (83, 91) and small ones □ (34, 58). Rule “greater than 60”? 41 → ■, but 41 < 60 ✗; 69 → □, but 69 > 60 ✗. Reject.
2) Compare the digits: 8 > 3, 9 > 1, 4 > 1 → ■; 5 < 8, 6 < 9, 3 < 4 → □. Rule: ■ if the tens digit is larger than the units digit, otherwise □. All six columns ✓.
3) 52: 5 > 2 → ■. The false rule would give □, so both may well be among the options.
30405060708090100835891416934rule “greater than 60”?Red ring: the rule fails here
“Greater than 60” fits four columns and fails two — enough to reject it.

Digit codes: classes of digits

Number205136988213
Code■■○□□●○●●■□□
Table for Example 3

Example 3: digits that are not in the table

Problem

By the same rule, what is the code of 4973?

Show solutionHide solution

Solution

1) The code is as long as the number and equal digits get equal symbols — a digit code. But 2 and 0 both get ■: a symbol stands for a group of digits.
2) Collect the groups: ■ — 0, 2; □ — 1, 3; ● — 6, 8; ○ — 5, 9.
3) What do they share? The ■ and ● groups hold even digits, □ and ○ odd ones. ■, □ hold small digits (0–4), ●, ○ large ones (5–9). The table has no 4, so we put the border at the natural place, between the halves 0–4 and 5–9; in the exam the options confirm such a choice.
4) Rule: small even → ■, small odd → □, large even → ●, large odd → ○. All 12 digits of the table ✓.
5) 4 is even and small → ■; 9 → ○; 7 is odd and large → ○; 3 → □. 4973 → ■○○□.
evenodd0–45–90241368597The ringed 4 and 7 follow from the rule
Two yes/no questions give four classes; each class has its own symbol.

TR-YÖS style: a three-question code

Number120315208497564
Code★●△★○△☆●▲☆○▲★○▲☆●▲
Table for Example 4

Example 4: the code of 390

Problem

By the rule of the table, which is the code of 390?
A) ★○▲ B) ☆●▲ C) ★●△ D) ★●▲ E) ☆○△

Show solutionHide solution

Solution

1) Both 49 and 315 get three symbols — a property code: three places, three questions.
2) Place 1: ★ — 120, 315, 75; ☆ — 208, 49, 64. The ★ numbers end in 0 or 5: divisible by 5 ✓ (all six columns).
3) Place 2: ● — 120, 208, 64 (even); ○ — 315, 49, 75 (odd) ✓.
4) Place 3: ▲ — 208, 49, 75, 64; △ — 120, 315. Digit sums: 10, 13, 12, 10 against 3, 9. Rule: the digit sum is at least 10. A rival, “has a digit of 7 or more”, fits five columns, but 64 has no such digit and still gets ▲ — reject.
5) 390: divisible by 5 → ★; even → ●; 3 + 9 + 0 = 12 → ▲. ★●▲ — answer D.

Example 5: a remainder code

Problem

Codes: 13 → ●, 22 → ●●, 31 → ●●●, 40 → ○, 57 → ●. By the same rule, how are 66 and 100 coded?

Show solutionHide solution

Solution

1) The numbers of dots are 1, 2, 3, 0 (○), 1. Never more than 3 — it looks like a remainder on division by 4.
2) Check: 13 = 4 · 3 + 1, 22 = 4 · 5 + 2, 31 = 4 · 7 + 3, 40 = 4 · 10 + 0, 57 = 4 · 14 + 1 ✓.
3) Rivals: the tens digit (1, 2, 3, 4, 5) fails at 40 and 57; the digit sum (4, 4, 4, 4, 12) fails at once.
4) 66 = 4 · 16 + 2 → ●●; 100 = 4 · 25 → ○.
The remainder on division by 4 depends only on the last two digits: 1234 → 34 = 4 · 8 + 2 → ●●.

Method and traps

  1. Decide the kind

    Look at the lengths: a fixed length — a property code; as long as the number — a digit code.

  2. Group by symbol

    Look at one place at a time and list the numbers (or digits) that get the same symbol.

  3. Find the shared property

    Use the suspects list: even/odd, divisibility by 5, 3, 9, 4, digit sum, comparing digits, size, remainder.

  4. Test every column

    One failure rejects the rule; move to the next suspect.

  5. Apply and check the options place by place

    If two rules survive, apply both to the asked number: if they agree, you are done; if not, the options decide.

Practice task

Number1305279650173692
Code●▲▲■■●▲▲■▲●●▲▲▲■
Table for the practice task

Practice: the code of 4083

Problem

In the table each number is coded by a certain rule. By the same rule, which is the code of 4083?
A) ■▲●▲ B) ●▲●▲ C) ●▲■▲ D) ▲▲■▲ E) ●■■▲

Show solutionHide solution

Solution

1) A code has as many symbols as the number has digits, and a digit gets the same symbol everywhere (6 → ▲, 2 → ■ twice) — a digit code.
2) Groups: ▲ — 0, 3, 6, 9; ● — 1, 7; ■ — 2, 5.
3) The ▲ group holds exactly the digits divisible by 3. Even/odd does not work: 1 and 7 are odd, but 9 is odd too and sits in another group. Remainders on division by 3: 1 and 7 leave 1; 2 and 5 leave 2. Rule: remainder 0 → ▲, 1 → ●, 2 → ■.
4) All 16 digits of the table ✓.
5) 4 leaves 1 → ●; 0 → ▲; 8 leaves 2 → ■; 3 → ▲. 4083 → ●▲■▲ — answer C.

Remember

  • In a property code each place of the group answers one question; in a digit code each digit gets the symbol of its class.
  • Suspects in order: even/odd, divisibility by 5, 3, 9, 4, digit sum, comparing digits, size, remainder.
  • A rule counts only if it fits every column; one failure rejects it.
  • Divisibility: last digit (2, 5, 10), last two digits (4), digit sum (3, 9).
  • Apply the rule to every place of the answer and check the options place by place.
Spotted a mistake or something inaccurate in this lesson?

Check yourself

12 questions. Every correct answer earns XP.

Question 1 / 12

Question 1 / 12. What must a coding rule found from a table do?