olymmath

ISL 1999 N4

Denote by S the set of all primes such the decimal representation of 1p\frac{1}{p} has the fundamental period divisible by 3. For every p∈Sp \in S such that 1p\frac{1}{p} has the fundamental period 3r3r one may write

1p=0,a1a2…a3ra1a2…a3r…,\frac{1}{p}=0,a_{1}a_{2}\ldots a_{3r}a_{1}a_{2} \ldots a_{3r} \ldots ,

where r=r(p)r=r(p) ; for every p∈Sp \in S and every integer k≥1k \geq 1 define f(k,p)f(k,p) by f(k,p)=ak+ak+r(p)+ak+2.r(p)f(k,p)= a_{k}+a_{k+r(p)}+a_{k+2.r(p)}

a) Prove that SS is infinite. b) Find the highest value of f(k,p)f(k,p) for k≥1k \geq 1 and p∈Sp \in S Attachments:

imo99lgo.gif

Dataset text AI-MO AoPS. Quoted with source.

Solutions

No solution is on olymmath yet. Official and human solutions come first when they arrive. AI solutions come after them, with a label.

Add a solution

Similar problems

These problems have the most words in common with this statement.

Locator isl/1999/n4 · Tag 6W1F02NJTK · Edit this page on GitHub · Keys: j next, k previous