OFFSET
0,3
PROG
(PARI) a(n) = fromdigits(digits((10^n-1)/9, 8));
(Python)
def a(n): return 0 if n == 0 else int(oct(int("1"*n))[2:])
print([a(n) for n in range(13)]) # Michael S. Branicky, Apr 26 2022
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
Seiichi Manyama, Apr 26 2022
STATUS
approved