d=lambda x:((~-~-~-5)**x*~-~-5+~-5)/int(f'{int(True)}{int(False)}') for i in range(101): print(i,d(i))
Standard input is empty
0 0.7 1 1.0 2 1.6 3 2.8 4 5.2 5 10.0 6 19.6 7 38.8 8 77.2 9 154.0 10 307.6 11 614.8 12 1229.2 13 2458.0 14 4915.6 15 9830.8 16 19661.2 17 39322.0 18 78643.6 19 157286.8 20 314573.2 21 629146.0 22 1258291.6 23 2516582.8 24 5033165.2 25 10066330.0 26 20132659.6 27 40265318.8 28 80530637.2 29 161061274.0 30 322122547.6 31 644245094.8 32 1288490189.2 33 2576980378.0 34 5153960755.6 35 10307921510.8 36 20615843021.2 37 41231686042.0 38 82463372083.6 39 164926744166.8 40 329853488333.2 41 659706976666.0 42 1319413953331.6 43 2638827906662.8 44 5277655813325.2 45 10555311626650.0 46 21110623253299.6 47 42221246506598.8 48 84442493013197.2 49 168884986026394.0 50 337769972052787.6 51 675539944105574.8 52 1351079888211149.2 53 2702159776422298.0 54 5404319552844596.0 55 1.080863910568919e+16 56 2.161727821137838e+16 57 4.323455642275676e+16 58 8.646911284551352e+16 59 1.7293822569102704e+17 60 3.458764513820541e+17 61 6.917529027641082e+17 62 1.3835058055282163e+18 63 2.7670116110564326e+18 64 5.534023222112865e+18 65 1.106804644422573e+19 66 2.213609288845146e+19 67 4.427218577690292e+19 68 8.854437155380584e+19 69 1.770887431076117e+20 70 3.541774862152234e+20 71 7.083549724304468e+20 72 1.4167099448608935e+21 73 2.833419889721787e+21 74 5.666839779443574e+21 75 1.1333679558887148e+22 76 2.2667359117774296e+22 77 4.533471823554859e+22 78 9.066943647109718e+22 79 1.8133887294219437e+23 80 3.6267774588438874e+23 81 7.253554917687775e+23 82 1.450710983537555e+24 83 2.90142196707511e+24 84 5.80284393415022e+24 85 1.160568786830044e+25 86 2.321137573660088e+25 87 4.642275147320176e+25 88 9.284550294640352e+25 89 1.8569100589280703e+26 90 3.713820117856141e+26 91 7.427640235712281e+26 92 1.4855280471424563e+27 93 2.9710560942849125e+27 94 5.942112188569825e+27 95 1.188422437713965e+28 96 2.37684487542793e+28 97 4.75368975085586e+28 98 9.50737950171172e+28 99 1.901475900342344e+29 100 3.802951800684688e+29