Project Euler 167 - Investigating Ulam Sequences
Project Euler 167 - Investigating Ulam Sequences
Official link: https://projecteuler.net/problem=167
Official link: https://projecteuler.net/problem=167
I used the following paper (S. R. Finch, Patterns in 1-additive sequences, Experimental Mathematics 1 (1992), 57-63.) to figure out everything you need to know for this problem, the answer is also directly available in Table 1.
No interactive code for this problem, instead I give my code for the problem.