A080121 a(n) is the smallest k > 0 such that n^2^k + (n+1)^2^k is prime, or -1 if no such k exists.
1, 1, 2, 1, 1, 2, 1, 2, 1, 5
Offset: 1
Links
Formula
Extensions
Edited by Max Alekseyev, Sep 09 2020
This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
a(1) = 5 because 1^2 + 2^2 = 5 is prime. a(2) = 13 because 2^2 + 3^2 = 13 is prime. a(3) = 337 because 3^4 + 4^4 = 337 is prime but 3^3 + 4^3 = 91 and 3^2 + 4^2 = 25 are composite.
Comments