MathDB
Problems
Contests
National and Regional Contests
Moldova Contests
Moldova Team Selection Test
2022 Moldova Team Selection Test
7
7
Part of
2022 Moldova Team Selection Test
Problems
(1)
Find the prime number $p$, for which the sum of the digits of the number $f(p^2+
Source: Moldova TST 2022
4/1/2022
Let
f
:
N
→
N
,
f:\mathbb{N} \rightarrow \mathbb{N},
f
:
N
→
N
,
f
(
n
)
=
n
2
−
69
n
+
2250
f(n)=n^2-69n+2250
f
(
n
)
=
n
2
−
69
n
+
2250
be a function. Find the prime number
p
p
p
, for which the sum of the digits of the number
f
(
p
2
+
32
)
f(p^2+32)
f
(
p
2
+
32
)
is as small as possible.
number theory