MathDB
2015 Azerbaijan JBMO TST

Source: 2015 Azerbaijan JBMO TST

May 2, 2015
combinatorics

Problem Statement

A=1472014A=1\cdot4\cdot7\cdots2014.Find the last non-zero digit of AA if it is known that A1mod3A\equiv 1\mod3.