Maths Olympiad Prep

Library / /336 of 860

Number theory Difficulty 5.1 AIME, harder Find the answer

Let a positive integer nn be called a cubic square if there exist positive integers a,ba, b with n=gcd(a2,b3)n=\operatorname{gcd}\left(a^{2}, b^{3}\right). Count the number of cubic squares between 1 and 100 inclusive.

A number or a short expression. Spacing and $ signs are ignored.

Solution

This is easily equivalent to vp(n)≢1,5(mod6)v_{p}(n) \not \equiv 1,5(\bmod 6) for all primes pp. We just count: p11vp(n)=1p \geq 11 \Longrightarrow v_{p}(n)=1 is clear, so we only look at the prime factorizations with primes from {2,3,5,7}\{2,3,5,7\}. This is easy to compute: we obtain 13.

Want a route through all this instead of an archive? The track puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.

Source: Omni-MATH, licensed Apache-2.0. Statement and solution reproduced as published; topic and difficulty added by this site.