Skip to content

This repo contains a module, in python, for additional number theory computation.

Notifications You must be signed in to change notification settings

msexton1519/math_extended.py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

math_extended.py

This module is a continuation of the math module but adds functions to solve certain number theory problems.

Get started

View and copy any functions defined in the file. Or, if so inclined, fork this repo and continue working on your own by adding, removing or changing code.

Help

prime_factors(num)

  • Returns the prime factors, with repeats, of a specific integer in the form of a list, by trial division.
  • Example: prime_factors(36) = [2, 2, 3, 3]

Author/Contributor

Matt Sexton

About

This repo contains a module, in python, for additional number theory computation.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages