login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A089583
Numbers n which are a multiple of A068505(n) (= n read in base m+1 where m = largest digit of n).
2
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 19, 21, 29, 39, 40, 49, 59, 69, 79, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 109, 112, 119, 120, 129, 139, 149, 159, 169, 179, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 209, 210, 219, 229, 239, 249, 259, 269, 279, 289
OFFSET
1,2
COMMENTS
Note that all single-digit numbers are included as they equal themselves when converted to base b+1. 3 in base 4 is 3 and of course divides evenly into the original value of 3. Note also that all numbers containing the digit 9 can only be interpreted as base-10 numbers, which of course divide themselves. These represent the trivial sequence members. A nontrivial member would be a value like 624, which when interpreted as a base-7 number yields 312 in base 10 which evenly divides 624. See sequence A089584 for the nontrivial members of this sequence.
LINKS
EXAMPLE
a(10)=10 because when 10 is interpreted as base 2 and converted back to base 10, the result, 2, divides evenly into 10.
MATHEMATICA
bQ[n_]:=Module[{idn=IntegerDigits[n]}, Divisible[n, FromDigits[idn, Max[ idn]+1]]]; Select[Range[300], bQ] (* Harvey P. Dale, Aug 30 2014 *)
PROG
(PARI) is_A089583(n, d, b)= 9<(b=1+vecmax(d=eval(Vec(Str(n))))) || n%sum(i=1, #d, d[i]*b^(#d-i))==0 \\ M. F. Hasler, Apr 05 2009
CROSSREFS
Cf. A054055 (largest digit of n), A068505 (n as base b+1 number where b=largest digit of n), A089584 (nontrivial members of this sequence).
Sequence in context: A117241 A108191 A108193 * A264979 A319726 A302589
KEYWORD
base,nonn
AUTHOR
Chuck Seggelin (barkeep(AT)plastereddragon.com), Nov 08 2003
EXTENSIONS
Definition reworded, minor corrections by M. F. Hasler, Apr 05 2009
STATUS
approved