|
|
A199357
|
|
Smallest positive integer with n anagrams.
|
|
1
|
|
|
1, 12, 112, 102, 11112, 123, 1111112, 10002, 1012, 11122, 11111111112, 1123, 1111111111112, 10000002, 111122, 10112, 11111111111111112, 1023, 1111111111111111112, 11123, 1111122, 100000000002, 11111111111111111111112
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
An anagram is a number having the same digits. Leading zeros are not allowed.
|
|
LINKS
|
|
|
FORMULA
|
For odd n, a(n) <= (10^n+8)/9, with equality for infinitely many n, including all prime n and other odd values starting at n = 27.
For even n, a(n) <= 10^(n/2)+2, with equality for infinitely many n, including all n = 2*p.
|
|
EXAMPLE
|
a(4) = 102 is the smallest number with 4 anagrams, namely 102, 120, 201, 210. 012 and 021 do not count as they start with 0.
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|