4 ms·
The OEIS is so useful when I have some sequence and I have no clue how to efficiently implement it in code. More often than not, there's a formula to generate
by applecrazy 5y ago
The OEIS is so useful when I have some sequence and I have no clue how to efficiently implement it in code.
More often than not, there's a formula to generate the ith term in the sequence in close to O(1) time.