Intereting Posts

Closed form for the sum of even fibonacci numbers?
Sum of eigenvalues and singular values
Frobenius Morphism on Elliptic Curves
Fourier transform of Schrödinger kernel: how to compute it?
Learning Combinatorial Species.
If $G/Z(G)$ is cyclic then $G$ is abelian – what is the point?
Understanding the proof of a formula for $p^e\Vert n!$
Is there any irreducible polynomial over $\mathbb{Q}$ whose Galois group is $S_4$?
What's the difference between $(\mathbb Z_n,+)$ and $(\mathbb Z_n,*)$?
Why is polynomial regression considered a kind of linear regression?
Find base and dimension of given subspace
Inequality:$ (a^{2}+c^{2})(a^{2}+d^{2})(b^{2}+c^{2})(b^{2}+d^{2})\leq 25$
Improper integral $sin(x)/x $ converges absolutely, conditionaly or diverges?
Sum with parameter convergence
How getting the unitarized irreducible representations with GAP?

Does there exist a positive integer $n$ such that it will be twice of $n$ when its digits are reversed?

We define $f(n)=m$ where the digits of $m$ and $n$ are reverse.

Such as $f(12)=21,f(122)=221,f(10)=01=1$,so we cannot say $f(f(n))=n$,but $f(f(n))=n/10^k$.

So we need to find a solution to $f(n)=2n$.

- Execution time of function
- Finding Big-O with Fractions
- Finding the radical of an integer
- Algorithm to get the maximum size of n squares that fit into a rectangle with a given width and height
- Number of integer solutions: $x^2 + y^2 + z^2 = N$
- Concrete FFT polynomial multiplication example

If $f(n)=2n$ and the first digit of $n$ is 2,then the last digit of $n$ is 1 or 6,and so on.So the first digit of $n$ is even.

There are some solutions to the equation $f(n)=\frac{3}{2}n$,such as $n=4356,43956$,but there is no solution to $f(n)=2n$ when $n<10^7$.

Edit:Since Alon Amit has proved that $f(n)=2n$ has no positive solution,so I wonder whether $f(n)=\frac{3}{2}n$ has only finite solutions.

Any suggestion is grateful,thanks in advance!

- Proving $\sum_{k=0}^n{2k\choose k}{2n-2k\choose n-k}=4^n$
- If $a^{n}-1$ is prime then $a=2$ and $n$ is prime?
- How often does $D(n^2) = m^2$ happen, where $D(x)$ is the deficiency of $x$?
- Find the last $4$ digits of $2016^{2016}$
- Why does $\gcd(a, b) = \min\lbrace ma + nb : m, n\in\mathbb{Z}\text{ and }ma+nb>0\rbrace$?
- Remainder in polynomial division
- Find the least number b for divisibility
- Why are Hornsat, 3sat and 2sat not equivalent?
- Why 4 is not a primitive root modulo p for any prime p?
- Solving $13\alpha \equiv 1 \pmod{210}$

There is no such integer $n$.

Suppose there is, and let $b = n \bmod 10$ be its units digit (in decimal notation) and $a$ its leading digit, so $a 10^k \leq n < (a+1)10^k$ for some $k$ and $1 \leq a < 10$.

Since $f(n) = 2n$ is larger than $n$, and $f(n)$ has leading digit $b$ and at most as many digits as $n$, we must have $b > a$. At the same time, $2b \equiv a \bmod 10$ because $(2b \bmod 10)$ is the units digits of $2n$ and $a$ is the units digit of $f(n)$.

This means that $a$ is even, as you pointed out.

- $a$ cannot be $0$, by definition.
- If $a=2$, $b$ must be $1$ (impossible since $b>a$) or $6$. But the leading digit of $2n$ can only be $4$ or $5$, since $4\times 10^k \leq 2n < 6\times 10^k$ and the right inequality is strict (in plain English, when you double a number starting with $2$, the result must start with $4$ or $5$).
- If $a=4$, by the same reasoning $b$ must be $7$ which again fails to be a possible first digit for twice a number whose leading digit is $4$.
- If $a=6$, we have $b=8$. Impossible since $2n$ must start with $1$.
- If $a=8$, $b$ must be $9$. Impossible again, for the same reason.

So no $a$ is possible, QED.

Edit: The OP has further asked if $f(n) = \frac{3}{2}n$ has only finitely many solutions. The answer to that is No: Consider $n=43999…99956$ where the number of $9$’s is arbitrary. One can check that $f(n) = \frac{3}{2}n$ for those values of $n$.

- “Additive” hash function
- Medial Limit of Mokobodzki (case of Banach Limit)
- Constructing the midpoint of a segment by compass
- Given any base for a second countable space, is every open set the countable union of basic open sets?
- Critical values and critical points of the mapping $z\mapsto z^2 + \bar{z}$
- If $\mathfrak{g}$ admits a decomposition then it is semisimple
- Show that affine varieties are quasi-compact.
- Proving $\frac{d}{dx}x^2=2x$ by definition
- A series problem by Knuth
- Proof involving homomorphism between $\Bbb Z^n$ and an abelian group G
- How do Taylor polynomials work to approximate functions?
- Almost Sure Convergence Using Borel-Cantelli
- Identity involving a recursive product
- Repeating something with (1/n)th chance of success n times
- Probability of A wins the game