Skip to content

Instantly share code, notes, and snippets.

Threadmonkey

Block or report user

Report or block Threadmonkey

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@Threadmonkey
Threadmonkey / mostRoundBirthday.py
Created Aug 29, 2018
Print the number of zeros for the years from 0 to 128 in the number systems from base 2 to base 128. Guess which Birthday has the most zeros!
View mostRoundBirthday.py
import math
# Definition
class YearZeros:
year = 0
zeros = 0
base = set() # Store the year inf form of 'all' (2 to 128) bases here. E.g. year 4 would be
# Declaration
result = []
You can’t perform that action at this time.