Question: Write a python code to find the largest even primitive integer n t = 34500958337943 This a very naive code and I'm not getting it

Write a python code to find the largest even primitive integer n

t = 34500958337943

Write a python code to find the largest even primitive integer n

This a very naive code and I'm not getting it to print anything. Please help . It supposed to return a pair of [prime, exponent].

The function should return the largest even primitive integer sufficiently smaller than t.

def factor (n): And Exponents for k in range (a, In** 0): 17. k== 0: exponent- Luhi le n7. (K*x exponent) == 0: exponent+=| pae.append( LK,exponent)) return pae lay=a3' pae - E3,627 prihe expent- for Pair in pae: if pair != : return "prestum not primitive e

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!