|
|
A279689
|
|
Numbers n such that n and 2n are anagrams in more than one base.
|
|
3
|
|
|
0, 40, 96, 104, 208, 248, 258, 288, 312, 480, 752, 833, 936, 960, 968, 1170, 1248, 1728, 1755, 2090, 2232, 2400, 2608, 2768, 2808, 2832, 2904, 4224, 4464, 5208, 5280, 5418, 6075, 6584, 6696, 6714, 6720, 6768, 6800, 6966, 7020, 7182, 7200, 7714, 7728, 7776
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
LINKS
|
|
|
EXAMPLE
|
a(2) = 40 because 40 and 80 are anagrams in bases 5 and 11.
a(13) = 936 because 936 and 1872 are anagrams in bases 3, 9, and 53.
|
|
PROG
|
(PARI) isok(n) = (n==0) || sum(b=2, n, vecsort(digits(n, b)) == vecsort(digits(2*n, b))) > 1; \\ Michel Marcus, Dec 17 2016
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|