In a code language 35796 is written as 44887. Find the code for 46823.

2024

In a code language 35796 is written as 44887. Find the code for 46823.

  1. A.

    55914

  2. B.

    55614

  3. C.

    55714

  4. D.

    55616

Show answer & explanation

Correct answer: A

In digit-position coding puzzles like this, each digit of the number is shifted by a fixed rule tied to its position in the number (1st digit, 2nd digit, and so on) — not by the digit's value. You uncover this position-wise rule by comparing the given code pair digit by digit, then apply the exact same rule, position by position, to the new number.

  1. Write the digits of the example pair side by side by position: 35796 becomes 44887, i.e. 3-5-7-9-6 becomes 4-4-8-8-7.

  2. Find the change at each position: 1st digit 3 to 4 (+1); 2nd digit 5 to 4 (-1); 3rd digit 7 to 8 (+1); 4th digit 9 to 8 (-1); 5th digit 6 to 7 (+1). The rule alternates +1, -1, +1, -1, +1 across the five positions.

  3. Apply this same positional rule to 46823 (digits 4-6-8-2-3): 1st digit 4+1=5; 2nd digit 6-1=5; 3rd digit 8+1=9; 4th digit 2-1=1; 5th digit 3+1=4.

  4. Reading the results in order gives the code 55914.

Reversing the same alternating rule on 55914 (-1, +1, -1, +1, -1, which undoes +1, -1, +1, -1, +1) restores 4-6-8-2-3, i.e. 46823 — confirming the mapping is self-consistent in both directions.

Explore the full course: Deloitte Nla