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.

A094173 a(n) = m if m has already occurred at least once and n=k+i*(m+1) where k is the index of the first occurrence of n and i=1,...,max(n-1,1), otherwise a(n) = least positive integer that has not yet occurred.

Table of values

n a(n)
1 1
2 2
3 1
4 3
5 2
6 4
7 5
8 3
9 6
10 7
11 4
12 3
13 5
14 8
15 9

List of values

[1, 2, 1, 3, 2, 4, 5, 3, 6, 7, 4, 3, 5, 8, 9]