News for hackers. Stuff that matters.
Re:Making any integer with four 2s (2025) by mojomark on Saturday November 07, 2026 @10:40PM (#50410234)
Multiplication is not the same as repeated addition, which you can observe as soon as you try the two different operations on fractions or negative numbers. For example, you can't add a number to itself 1/3 times, but you can certainly scale a number by 1/3.

Multiplication is a scaling operation.

Re:Making any integer with four 2s (2025) by goodmythical on Sunday November 08, 2026 @12:04AM (#50410541)
Can you not? 9+(9(1/3)) [adding nine to itself a third of a time] is nine plus one third of nine {or nine divided by three} which is one of the three in three times three that equals nine which is three therefore 9+(9(1/3))=11 because 9+3=11
Re:Making any integer with four 2s (2025) by alpaca128 on Sunday November 08, 2026 @05:51AM (#50412123)
9+3=12, but otherwise I agree
Re:Making any integer with four 2s (2025) by red369 on Sunday November 08, 2026 @08:05AM (#50412944)
:)

I like it when people who are clearly smart do things like this! Makes me feel better.

Reminds me of this story: https://news.ycombinator.com/item?id=5663709

Re:Making any integer with four 2s (2025) by srean on Sunday November 08, 2026 @08:35AM (#50413226)
That's Grothendieck multiplication.
Re:Making any integer with four 2s (2025) by mojomark on Sunday November 08, 2026 @09:36AM (#50413726)
By dividing by 3 you are introducing a scaler into the operation.

Multiplication also flips signs (direction). That's why a negative * negative = positive, whereas a negative + negative = negative. The addition operator does not flip direction.

Multiplication is not generally the same as multiple addition operations. However, it has the same result for positive whole numbers.

Re:Making any integer with four 2s (2025) by reichstein on Sunday November 08, 2026 @05:48AM (#50412108)
Multiplication is the generalization of repeated addition. Repeated addition can be generalized to fractional values.

In the integers, it is the same thing, with a rule for negative times.

In the rational numbers, you can generalize to adding a number to itself a rational number of times. Adding a/b to itself p/q times is defined as adding a to itself p times, with a divisor that is adding b to itself q times.

So adding the rational 5 (5/1) with itself 2_and-1/3 (4/3) times just means (5+5+5+5) / (1 + 1 + 1) = 20/3, a rational that we can also write as 6 -and-2/3. Only addition of integers is used.

Which is the same as rational multiplication (a/b)(p/q) = (ap)/(b*q).

But it's true that you can't say that rational multiplication is the same as _integer_ repeated addition.

Re:Making any integer with four 2s (2025) by anthk on Sunday November 08, 2026 @01:05PM (#50415554)
>you can't add a number to itself 1/3 times,

Learn logarithms.