Anonymous user
Talk:Super-d numbers: Difference between revisions
→Big Doubt
(Added topic, calculation by mostly addition) |
|||
(6 intermediate revisions by 3 users not shown) | |||
Line 1:
== Big Doubt (Solved) ==
According to the definition in https://oeis.org/A032745, I don't understand why 32767 is considered a super-5 number, since:
5*32767^5 = 188865838036335554720440
and there is no "55555" substring in it.
Same thing for super-6 number 27257. --[[User:Dejan94|Dejan94]] ([[User talk:CDejan94|talk]]) 8:04, 27 March 2022 (UTC)
: Seems to me you need a better calculator.
raku -e'say 5 * 32767 ** 5'
18886583803633<span style="color:red;">55555</span>43035
raku -e'say 6 * 27257 ** 6'
2460478505381<span style="color:red;">666666</span>506497894
And please, sign your edits.
--[[User:Thundergnat|Thundergnat]] ([[User talk:Thundergnat|talk]]) 13:46, 27 March 2022 (UTC)
That's hilarious because R (my language) is giving me those wrong results ad I'm getting mad:
<lang R>
> 5 * 32767 ** 5
[1] 188865838036335554720440
> 5 * 32767 ^ 5
[1] 188865838036335554720440
> 6 * 27257 ** 6
[1] 2460478505381666522282046264
</lang>
What should I do?
Sorry for the sign, I'm newbie here and I didn't know how to do some things or special characters.
--[[User:Dejan94|Dejan94]] ([[User talk:Dejan94|talk]]) 14:02, 27 March 2022 (UTC)
: I don't have a good answer for you as I only have a passing familiarity with R. A Google search for '''R language integer precision''' turns up some possibly useful information, though again, I am not the best one to judge. --[[User:Thundergnat|Thundergnat]] ([[User talk:Thundergnat|talk]]) 14:14, 27 March 2022 (UTC)
:: Thanks mate, I will investigate! It's funny because R is used for complex statistical and mathematical computing and I'm really shocked about this
--[[User:Dejan94|Dejan94]] ([[User talk:Dejan94|talk]]) 14:20, 27 March 2022 (UTC)
==== Solution ====
I did it! I installed "Rmpfr" package for arbitrary precision floating point numbers and I used it to augment precision! Now I can add the solution of the task in R. Thank you [[User:Thundergnat|Thundergnat]] for suggestion, I also learned a new thing and a flaw of R!
--[[User:Dejan94|Dejan94]] ([[User talk:Dejan94|talk]]) 19:14, 27 March 2022 (UTC)
== super-d numbers==
It is noted elsewhere that '''super-d''' numbers are always expressed in decimal (base ten). -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 07:34, 12 October 2019 (UTC)
Line 61 ⟶ 102:
</pre>
When working backwards by summing instead of subtracting, the tables look like this because we work
Squares:
<pre>
Line 74 ⟶ 115:
<pre>
0: 0 1 -6 6
1: 1
2: 8
3: 27
4: 64
5: 125
</pre>
|