|
| |
|
|
A125521
|
|
a(n) = minimal difference between two distinct n-digit with property that when one of them is typed into a calculator and rotated 180 degrees, the other one is seen.
|
|
0
| | |
|
|
|
OFFSET
| 1,1
|
|
|
FORMULA
| If n is even, a(n) is 6 followed by (n - 2) / 2 zeros. If n is odd, a(n) is 3 followed by (n - 1) / 2 zeros.
|
|
|
EXAMPLE
| a(3) = 30. If one types 595 into a calculator and rotates it 180 degrees, they will get 565. 595 - 565 = 30. With a little thought, it is provable that 30 is the smallest possible difference.
|
|
|
CROSSREFS
| Sequence in context: A136939 A136944 A136946 * A090932 A157534 A133799
Adjacent sequences: A125518 A125519 A125520 * A125522 A125523 A125524
|
|
|
KEYWORD
| base,nonn
|
|
|
AUTHOR
| Tanya Khovanova and Sergei Bernstein (tanyakh(AT)yahoo.com), Dec 29 2006
|
| |
|
|