2018新年快乐

%matplotlib inline
import matplotlib.pyplot as plt  
import numpy as np  
magic_number = 70156859482305743519697912182871946942889753024265287045823682905166235922940241915773189846242966870955213440970092909355512014688990882346279092507830856663157120608796145841069191122056188110568577778484552952139839688321559086513655092118513045304362451756621250699203086654051675078067490420081855417720858367084903567661943198559312800645025469927021391970378747221924217905085410433890536836629226546659858613448235715754625100981498085113731139913844616557376000797393299966749086926622544290974491486177456130730467073720320  
data = np.meshgrid(np.arange(106), np.arange(magic_number, magic_number+17))  
plt.figure(figsize=(15,15))  
plt.imshow((0.5 < ((data[1]//17) // (2**(17*data[0] + data[1]%17))) % 2)[:,-1:0:-1], interpolation='none', cmap='gray')  

[1] WikiPedia: Tupper's self-referential formula

[2] Tupper's Self-Referential Formula Playground

Friskit

继续阅读此作者的更多文章