tromp
searching PlanetScale…
- 1.▲
- 2.▲
- 3.▲
- 4.▲
- 5.▲
- 6.▲
61 ms·
- 1171.▲
- 1172.▲
- 1173.▲
- 1174.▲
- 1175.▲
- 1176.▲
- 1177.▲
- 1178.▲
- 1179.▲
- 1180.▲
- 1181.▲
- 1182.▲
> f=lambda n:(b:=2<<n)*n*b//(b*b-b-1)%b > [f(n) for n in range(10)] > [0, 1, 1, 2, 3, 5, 8, 13, 21, 34] Or in Haskell, without the cute generating function tricks: take 10 $ let f a b = a : f b (a+b) in f 0 1 - 1183.▲
- 1184.▲
- 1185.▲
- 1186.▲
- 1187.▲
- 1188.▲
- 1189.▲
- 1190.▲
- 1191.▲
- 1192.▲
- 1193.▲
- 1194.▲
- 1195.▲
- 1196.▲
- 1197.▲
- 1198.▲
- 1199.▲
- 1200.▲
More ›