|
|
A331269
|
|
a(n) is the greatest divisor v of A331220(n) such that the ternary representations of v and of A331220(n)/v have the same number of digits d for d = 0..2.
|
|
3
|
|
|
1, 2, 3, 4, 5, 7, 6, 7, 8, 9, 10, 12, 11, 12, 15, 13, 14, 19, 16, 15, 21, 16, 19, 17, 22, 21, 18, 22, 19, 23, 21, 20, 25, 21, 24, 22, 23, 25, 24, 25, 26, 27, 28, 30, 29, 30, 33, 31, 36, 32, 36, 34, 33, 37, 34, 39, 38, 35, 38, 36, 45, 42, 37, 42, 39, 38, 46, 45
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
LINKS
|
|
|
FORMULA
|
|
|
PROG
|
(PARI) b=3; k=68; for (n=1, oo, fordiv (n, u, if (vecsort(digits(u, b))==vecsort(digits(v=n/u, b)), print1 (v", "); break (if (k--, 1, 2)))))
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|