OFFSET
1,2
COMMENTS
An anagram is a number having the same digits. Leading zeros are not allowed.
LINKS
David W. Wilson, Table of n, a(n) for n = 1..1000
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
David W. Wilson, Nov 05 2011
STATUS
approved