A333970 Irregular triangle read by rows where the n-th row lists the bases 2<=b<=n+1 where n in base b contains the digit b-1.
2, 2, 3, 2, 4, 2, 5, 2, 3, 6, 2, 3, 7, 2, 3, 4, 8, 2, 3, 9, 2, 5, 10, 2, 11, 2, 3, 4, 6, 12, 2, 4, 13, 2, 4, 7, 14, 2, 3, 4, 5, 15, 2, 3, 4, 8, 16, 2, 3, 17, 2, 3, 6, 9, 18, 2, 3, 19, 2, 3, 4, 5, 10, 20, 2, 3, 5, 7, 21, 2, 3, 5, 11, 22, 2, 3, 5, 23, 2, 3, 4, 5, 6, 8, 12, 24
Offset: 1
Examples
Triangle begins Row Bases n=1: 2 n=2: 2 3 n=3: 2 4 n=4: 2 5 n=5: 2 3 6 n=6: 2 3 7 n=7: 2 3 4 8 n=8: 2 3 9 n=9: 2 5 10 n=10: 2 11
Links
- Rémy Sigrist, Table of n, a(n) for n = 1..10027 (rows for n = 1..1014, flattened)
Crossrefs
Programs
-
PARI
row(n) = {my(list = List()); for (b=2, n+1, if (vecmax(digits(n, b)) == b-1, listput(list, b));); Vec(list);} \\ Michel Marcus, Sep 11 2020
Extensions
More terms from Michel Marcus, Sep 11 2020
Comments