Short python samples of recreational mathematics.
-
Updated
Aug 7, 2023 - Python
Short python samples of recreational mathematics.
Python functions for numerical analysis: numerical schemes for ODEs, linear algebra, linear/non-linear/iterative solvers, interpolation, and regression analysis.
Lucas Sequence L is a sequence of numbers such that L(n) = L(n-1) + L(n-2)
Python script for checking if a number is prime. If the number is composite, the script prints the prime factorization of the number.
Python cli script for counting prime numbers
A Mersenne prime is a prime number that is one less than a power of two. That is, it is a prime number of the form M_{n}=2^{n}-1 for some integer n.
This script is ready to use script to takes an argument and calculates all amicable number pairs smaller than the inputted number.
Miscellaneous scripts and modules implemented in Python
Implementations to produce solutions for the IBM Research Ponder This monthly challenges
Interactive Feigenbaum bifurcation graphics on iPad with Pythonista
Grahics by circles rotating around each other
Get all arithmetic sequences form an array keeping the order of the array
Script checks if the entered integer is an Emirp prime number or not.
Script for printing emirp prime numbers on the command line.
A loose collection for small Python scripts I create just for fun and with no apparent useful purpose
Add a description, image, and links to the recreational-mathematics topic page so that developers can more easily learn about it.
To associate your repository with the recreational-mathematics topic, visit your repo's landing page and select "manage topics."