Problem

Source: 2005 Estonia National Olympiad Final Round grade 10 p3

Tags: Digits, number theory, divisible



How many such four-digit natural numbers divisible by $7$ exist such when changing the first and last number we also get a four-digit divisible by $7$?