A370658 Numbers k such that (3^k + 3*k)/3 is prime.
1, 2, 4, 16, 46, 118, 160, 3740, 3778, 9704, 10624, 21460
Offset: 1
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.
For n=2, the shortest unimodal sequence has length a(2) = 6 terms and one such sequence is 3 -> 5 -> 8 -> 4 -> 2 -> 1 \-----/ \----------/ 2 increases, then decreases
LinearRecurrence[{5,-7,3},{3,6,13},29] (* James C. McMahon, Apr 02 2025 *)
Comments