MathDB
Four-Digit Sequence

Source: 2014 AIME I Problem 8

March 14, 2014
modular arithmeticSuMACquadraticsnumber theorygreatest common divisorAMCAIME

Problem Statement

The positive integers NN and N2N^2 both end in the same sequence of four digits abcdabcd when written in base 10, where digit aa is not zero. Find the three-digit number abcabc.