Problem #PRU-65118

Problems Methods Mathematical induction Mathematical induction (other) Calculus Number sequences Number sequences (other)

Problem

Author: I.I. Bogdanov

Peter wants to write down all of the possible sequences of 100 natural numbers, in each of which there is at least one 3, and any two neighbouring terms differ by no more than 1. How many sequences will he have to write out?