MathDB
S 18

Source:

May 25, 2007
Miscellaneous Problems

Problem Statement

Denote by SS the set of all primes pp such that the decimal representation of 1p\frac{1}{p} has the fundamental period of divisible by 33. For every pSp \in S such that 1p\frac{1}{p} has the fundamental period 3r3r one may write 1p=0.a1a2a3ra1a2a3r,\frac{1}{p}= 0.a_{1}a_{2}\cdots a_{3r}a_{1}a_{2}\cdots a_{3r}\cdots, where r=r(p)r=r(p). For every pSp \in S and every integer k1k \ge 1 define f(k,p)=ak+ak+r(p)+ak+2r(p).f(k, p)=a_{k}+a_{k+r(p)}+a_{k+2r(p)}. [*] Prove that SS is finite. [*] Find the highest value of f(k,p)f(k, p) for k1k \ge 1 and pSp \in S.