Section 9.4 Exploring Euler's Function
One of the neatest things aboutQuestion 9.4.1.
One can ask:
Given a prime
is there a formula forIf
and are coprime, is there a relation between and and
Question 9.4.2.
For instance, one can ask:
When does
When (if ever) does
(See Exercise 9.6.18.)Given
for how many integers it is true thatAre there infinitely many
for which ends in zero? (See Exercise 9.6.17.)
xxxxxxxxxx
def _(n=range_slider(2,150,1,(2,20))):
top = n[1]
bottom = n[0]
cols = ((top-bottom)//10)+1
T = [cols*['$n$',r'$\phi(n)$']]
list = [[i,euler_phi(i)] for i in range(n[0],n[1])]
list.extend((10-(len(list)%10))*['',''])
for k in range(10):
t = [item for j in range(cols) for item in list[k+10*j] ]
T.append(t)
pretty_print(html(table(T,header_row = True, frame = True)))
Remark 9.4.3.
Before moving on to some proofs in the next section, we highly encourage all readers to explore many questions β perhaps using the interact above. It's simply not the same to just prove, and even less so to read a someone else's proof. To really understand these (or other) things in mathematics, one must get a feel for them βby handβ.