OFFSET
1,3
LINKS
Giovanni Resta, Table of n, a(n) for n = 1..136 (terms < 10^12, first 101 terms from Paolo P. Lava)
EXAMPLE
7 in base 3 is 21, which interpreted in base 10 is 21=3*7.
MATHEMATICA
lst = {0}; Do[If[Mod[FromDigits[IntegerDigits[n, 3]], n] == 0, AppendTo[lst, n]], {n, 10000}]; lst (* Carl Najafi, Aug 21 2011 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Patrick De Geest, Apr 15 1998
EXTENSIONS
Example and better description from Erich Friedman, Jul 21 2001
Edited by Erich Friedman Feb 09 2002
Offset set to 1 by Giovanni Resta, Jul 13 2016
Name edited by Jon E. Schoenfield, Oct 25 2019
STATUS
approved