Find an integer such that the base expansion of begins "happy.newyear".
Caveat: I haven't written the code yet to do this myself, but I'm confident an answer exists. Actually, there should be infinitely many. I'll give it a try myself in the morning.
mpmath.tan(n)
instead ofmath.tan(n)
and setting the number of decimals usingmpmath.mp.dps = 100
.