Problem #PRU-100538

Problems Number Theory Arithmetic operations. Number identities

Problem

a) Find the biggest 6-digit integer number such that each digit, except for the two on the left, is equal to the sum of its two left neighbours.

b) Find the biggest integer number such that each digit, except for the first two, is equal to the sum of its two left neighbours. (Compared to part (a), we removed the “6-digit number” restriction.)