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”).

A203070
Smallest positive multiple of n that is palindromic in base 3, ignoring trailing zeros.
2
1, 2, 3, 4, 10, 6, 28, 8, 9, 10, 121, 12, 13, 28, 30, 16, 68, 18, 608, 20, 84, 242, 23, 24, 100, 26, 27, 28, 203, 30, 1550, 160, 363, 68, 280, 36, 1850, 608, 39, 40, 82, 84, 4988, 484, 90, 644, 1222, 48, 784, 100, 204, 52, 212, 54, 1210, 56, 1824, 1276, 1003
OFFSET
1,2
LINKS
MATHEMATICA
notpal3Q[i_]:=Module[{id=IntegerDigits[i, 3]}, While[Last[id]==0, id = Most[id]]; id!=Reverse[id]]; lm3[n_]:=Module[{k=1}, While[notpal3Q[k n], k++]; k n]; Array[lm3, 80]
CROSSREFS
Cf. A141709.
Sequence in context: A143178 A084190 A377484 * A088303 A193858 A054930
KEYWORD
nonn,base
AUTHOR
Harvey P. Dale, Dec 28 2011
STATUS
approved