A sequence , , , ... is defined as follows:
• ;• if is prime then is the smallest positive integer not yet in the sequence;• if is not prime then is the smallest prime not yet in the sequence.
The integer is the smallest such that .
What is the value of ?
Sign in or create an account to reveal answers, view the solution, and save your progress. Create a free account to unlock practice and keep track of your work.
One puzzle per day. Cryptarithm, Magic Square, Summit. No sign-up required to play.
Play daily puzzle →Interactive problems and curated lessons—water pouring, magic squares, knight's tour, and more.
Browse library →See how you rank. Top solvers by problems solved correctly. Sign in to climb the ranks.
View leaderboard →Senior Kangaroo 2018 (2018)