Questions tagged [decimal-expansion]

For questions about decimal expansion, both practical and theoretical.

A number can be represented in many different ways, but the most common is via its decimal expansion. Such a representation takes the form

$$a_na_{n-1}\dots a_1a_0.a_{-1}a_{-2}\dots$$

where $a_n \in \{1, 2, \dots, 9\}$ and $a_i \in \{0, 1, 2, \dots, 9\}$ for $i = n - 1, n - 2, \dots, 1, 0, -1, -2, \dots$. In the case that there is $N > 0$ such that $a_i = 0$ for all $i < -N$, these numbers are supressed in which case the decimal expansion usually appears as

$$a_na_{n-1}\dots a_1a_0.a_{-1}a_{-2}\dots a_{-N}.$$

Note that concatenation does not represent multiplication, it is just a part of the notation. The . between $a_0$ and $a_{-1}$ does not represent multiplication either; it is sometimes called the decimal point.

To put the notation on a rigorous footing, the expression $a_na_{n-1}\dots a_1a_0.a_{-1}a_{-2}\dots$ is shorthand for

$$\sum_{i = 0}^na_i10^i + \sum_{i=1}^{\infty}a_{-i}\frac{1}{10^i} = \sum_{i = -\infty}^na_i10^i$$

which can be shown to be convergent irrespective of the choice of $a_i$.

1243 questions
1
vote
1 answer

How do you convert a ternary to a novenary?

Say I have the ternary expansion $$0_3.t_1t_2...t_{2n-1}t_{2n}...$$ When converted into a novenary I am told it equals $$0_9.(3t_1 +t_2)(3t_3+t_4)...(3t_{2n-1}+t_{2n})...$$ I am not sure how to get this. How do you get from the ternary to the…
Al jabra
  • 2,331
1
vote
3 answers

Represent $\frac{2}{5}$ in quarternary form.

I have the following intervals in Quaternary representation $$\bigg[0,\frac{1}{4}\bigg]=[0_4.0, 0_4.1]$$ $$\bigg[\frac{1}{4},\frac{2}{4} \bigg]=[0_4.1, 0_4.2$$ $$\bigg[\frac{2}{4}, \frac{3}{4} \bigg]=[0_4.2,…
Al jabra
  • 2,331
1
vote
0 answers

3-digit chopping vs 3-digit rounding and relative error

Are my calculations below about 3-digit chopping, 3-digit rounding, and relative errors correct? given 4/5 * 1/3: Exact value: 0.2666666666666667 3-digit chopping: 0.266, its relative error: 0.0025 3-digit rounding: 0.266, its relative error:…
2D3D4D
  • 147
1
vote
0 answers

Effect on decimal values rounded to the nearest binary representable power of ten precision?

Actually i have some property in my chart control which create auto scale and enable setting that decimal values should be rounded to the nearest binary representable power of ten precision. If i have following values then what will be effect on the…
1
vote
1 answer

How to find if 1/n will be recurring decimal expansion?

How to determine if the expansion of $1/n$ would be a recurring decimal expansion or not? for example, $1/7 = 0.\overline{142857}$ but $1/8=0.125$. So, how to find if $1/n$ would be a recurring decimal expansion or not? Note: Here,…
anshabhi
  • 751
1
vote
0 answers

Change fraction to decimal

Can anyone please help. I'm following a tutorial found here as I have a situation where I have to get the equation of a line in point slope form i.e. $y - y_1 = m(x - x_1)$ I get up to step 3 of the tutorial no problem, but then I got stuck. In…
heyred
  • 133
0
votes
1 answer

Representing a strange number as a fraction

Can this decimal with special patterns be expressed as a fraction? Is it a rational number? $$0.101001000100001000001...$$ Where the number of zeros after every 1 is increased by 1. Ty.
0
votes
0 answers

Sum of squared digits

Let $s(n)$ denote the sum of the squares of the digits of $n$. For example, $s(14) = 1 ^ 2 + 4 ^ 2 = 17$ Determine all integers adding n for which $s(n) = n$ holds. I bound it to $243$ due to $9^2 *4 < 1000$. And thus $n$ must have at most $3$…
0
votes
0 answers

why does the sequence of n/7 always have the same six digits in the same order in the decimal part?

I realized the other day that in the decimal representation of $\frac{n}{7}$, where $n=\{1,2,3,4,5,6\}$, the decimal part always has the same sequence of six digits but shifted to start at a different number. Why is that? To…
Yay
  • 1
0
votes
1 answer

Define function that tells me if an integer is a zero_special

I'd like to define $zeroes(n)$ as the number of zeros in the decimal expansion of the integer $n$. A number $n$ is zero_special if $$zeroes(n) > zeroes(n-1)$$ Can I write a function that determines whether $n$ is zero_special? What does "the decimal…
jml
  • 1
0
votes
2 answers

How many of the 0 digits are place holders in 330.606?

How many of the 0 digits are place holders in 330.606? This is the problem. I have tried solving it on the online calculator.
0
votes
0 answers

if $S(a^n+n)=1+S(n)$ for any sufficiently large $n$ if and only if $a$ is a power of $10$

let $a$ be a positive integer such that $$S(a^n+n)=1+S(n)$$ for any sufficiently large $n$ if and only if $a$ is a power of $10$ where $S(n)$ is digit sum of a positive integer $n$ if $a$ is a power of $10$,let $a=10^k$,for large $n$,then…
math110
  • 93,304
0
votes
1 answer

Prove that there are infinitely many special numbers of the form $10^n+b$ if and only if $b-1$ is special.

While digging through some old notebooks today, I found a problem from a long time ago that I was never able to solve. It involves a sequence of positive integers called the “special numbers” defined: A number $m$ is called special if there is no…
math110
  • 93,304
0
votes
2 answers

Transforming a 4-digit number to produce $7793$

Harvey transforms a four-digit number by reversing the order of its digits, subtracting 1 from all digits that are 1 more than a multiple of 3, and adding 1 to all even digits in that order. Harvey obtains 7793 after transformation. Find the number…
0
votes
1 answer

Number equal to the product of its digits

I'm trying to find a positive integer $n>10$ such that $n=p(n)$ Here $p(n)$ is defined as the product of the digits of $n$. Example: $p(15)=1 \times 5=5$ I actually don't know where to start. What will be a good approach to this problem?