cp's OEIS Frontend

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.

A360587 a(n) is the least positive integer k such that k*(k+1)*...*(k+n-1) does not contain the digit 2, or -1 if there is no such k.

Table of values

n a(n)
1 1
2 2
3 1
4 3
5 7
6 2
7 1
8 3
9 3
10 2
11 1
12 1
13 3
14 2
15 1
16 5
17 10
18 10
19 10
20 17
21 4
22 8
23 38
24 38
25 19
26 17
27 2
28 1
29 1
30 3

List of values

[1, 2, 1, 3, 7, 2, 1, 3, 3, 2, 1, 1, 3, 2, 1, 5, 10, 10, 10, 17, 4, 8, 38, 38, 19, 17, 2, 1, 1, 3]