OFFSET
0,3
COMMENTS
This is the sequence of all decimal integers that are created when base 10 numbers are interpreted as base 11 numbers.
Numbers without digit A (=10) in their representation in base 11. Complement of A095778. - François Marques, Oct 20 2020
Original definition: Earliest sequence containing no 11-term arithmetic progression.
In general, if p is prime, the earliest sequence containing no p-term arithmetic progression is created when base (p-1) numbers are interpreted as base p numbers.
REFERENCES
D. E. Arganbright, Mathematical Modeling with Spreadsheets, ABACUS, Vol. 3, #4(1986), 19-31.
LINKS
François Marques, Table of n, a(n) for n = 0..10000
EXAMPLE
a(53)=58 because 53_11 in base 11 equals 58. - François Marques, Oct 20 2020
MAPLE
seq(`if`(numboccur (10, convert (n, base, 11))=0, n, NULL), n=0..122);
# second Maple program:
a:= n-> (l-> add(l[i]*11^(i-1), i=1..nops(l)))(convert(n, base, 10)):
seq(a(n), n=0..66); # Alois P. Heinz, Aug 30 2024
MATHEMATICA
Table[FromDigits[RealDigits[n, 10], 11], {n, 0, 100}] (* François Marques, Oct 20 2020 *)
PROG
(PARI) a(n) = fromdigits(digits(n), 11); \\ Michel Marcus, Oct 09 2020
(Python)
def A171397(n): return int(str(n), 11) # Chai Wah Wu, Aug 30 2024
CROSSREFS
Different from A065039. - Alois P. Heinz, Sep 07 2011
CNumbers with at least one digit b-1 in base b : A074940 (b=3), A337250 (b=4), A337572 (b=5), A333656 (b=6), A337141 (b=7), A337239 (b=8), A338090 (b=9), A011539 (b=10), A095778 (b=11).
KEYWORD
nonn,base,easy
AUTHOR
Paul Weisenhorn, Jul 11 2011
EXTENSIONS
Edited by N. J. A. Sloane, Aug 31 2024
STATUS
approved