Python Forum
How do I code this equation in python (factor ceiling(2^127-1))
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How do I code this equation in python (factor ceiling(2^127-1))
#3
cypari gives some result:
>>> import cypari
>>> cypari.pari('factor({})'.format(2**127-2))
[2, 1; 3, 3; 7, 2; 19, 1; 43, 1; 73, 1; 127, 1; 337, 1; 5419, 1; 92737, 1; 649657, 1; 77158673929, 1]
Reply


Messages In This Thread
RE: How do I code this equation in python (factor ceiling(2^127-1)) - by Gribouillis - Apr-22-2018, 05:57 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Find factor to match test curve to golden curve SriRajesh 0 1,559 Jun-17-2021, 04:39 AM
Last Post: SriRajesh
  Solve simple equation in Python kmll 4 3,102 Nov-01-2020, 04:34 PM
Last Post: deanhystad
  Python gives " -0.0 " as solution for an equation akar 2 1,787 Aug-27-2020, 12:15 PM
Last Post: akar
  Asking for help in solving a single variable nonlinear equation using Python ! NDP 0 1,987 Feb-15-2019, 12:03 PM
Last Post: NDP
  parsing text for common factor metulburr 4 4,973 Apr-28-2017, 11:04 PM
Last Post: Larz60+

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020