OFFSET
1,2
LINKS
Rémy Sigrist, Table of n, a(n) for n = 1..10000
Rémy Sigrist, Scatterplot of the first 1000000 terms
Rémy Sigrist, C program for A330636
EXAMPLE
The first terms, alongside the corresponding forbidden values, are:
n a(n) k=1 k=2 k=3 k=4 k=5 k=6 k=7 k=8 k=9 k=10
-- ---- --- --- --- --- --- --- --- --- --- ----
1 1
2 2 1
3 1 0 2
4 2 1 1 3
5 3 0 2 1 4
6 4 0 1 3 2 5
7 3 0 0 1 4 2 6
8 4 0 0 1 2 5 3 7
9 4 0 0 0 1 2 6 3 8
10 2 0 0 1 1 1 3 7 4 9
11 5 0 0 0 1 1 2 3 8 4 10
PROG
(C) See Links section.
CROSSREFS
KEYWORD
nonn
AUTHOR
Rémy Sigrist, Dec 22 2019
STATUS
approved