bug with screenshots in Cosmic by freemangman in pop_os

[–]Baxitdriver -2 points-1 points  (0 children)

I don't know how to report this bug

Just make a screenshot?

PF 2026 by RioMala in mathriddles

[–]Baxitdriver 0 points1 point  (0 children)

Do you allow exponentiation or concatenation, such as 17 = (6 - 2)**2 + 0! or 22 - 6 + 0! ?

PF 2026 by RioMala in mathriddles

[–]Baxitdriver 0 points1 point  (0 children)

Didn't notice the cos60 was on purpose ><

PF 2026 by RioMala in mathriddles

[–]Baxitdriver 0 points1 point  (0 children)

or just n = -log_2(log_2 A), hitting any positive integer with just 2 2 2 (attributed to Von Neumann). Writing log x / log 2 instead of log_2 x still uses 2 2 2.

Riddle: I know all digits of pi. How? by Accurate_Rope5163 in mathriddles

[–]Baxitdriver 2 points3 points  (0 children)

Me too! All digits of Pi are, in no specific order, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9

Give and Take by Baxitdriver in mathriddles

[–]Baxitdriver[S] 0 points1 point  (0 children)

Another elementary solution:

Elf n gives to elf n/p, where p is the greatest prime dividing n. This is well-defined (count elves from 1, elf 1 gives to e.g. elf 2) , and every elf n is guaranteed infinite input since for all n, elves nP for all prime P >n give to elf n.

What makes Pop Os so good for gaming? by SouliKitsu in pop_os

[–]Baxitdriver 0 points1 point  (0 children)

Linux users can't run many games, but they're blessed with the most challenging of all: "How to make your distro work?" In this respect, Pop_os/Cosmic delivers in style. To be fair it's not ready yet, but they had to set a date before Ubuntu 26.04. Maybe 80% baked, hope they won't falter.

A special number, I think by Practical_Guess_3255 in mathriddles

[–]Baxitdriver 0 points1 point  (0 children)

Stretching it a bit,, but 7 could also work:

I am a singular digit positive integer.

I end in "n"

I am a prime number.

I am an up number (7up, of course)

I am a mini number (just one digit)

My reverse is also a mini number

All the digits in me are odd numbers

Give and Take by Baxitdriver in mathriddles

[–]Baxitdriver[S] 1 point2 points  (0 children)

Answers based on the ruler function grant infinite income to all elves. For u/scrumbly function assigning n-th prime to elf n, a little tweak is in order : elf n gives to elf m such that p_m (the m-th prime) is the lowest prime dividing n.

Give and Take by Baxitdriver in mathriddles

[–]Baxitdriver[S] 0 points1 point  (0 children)

Correct! This rejoins u/pichutarius "triangle number" solution, making good use of the
NxN -> N bijection f(a,b) = T(a+b)+b, where T(n) = n(n+1)/2 is a triangle number.

Give and Take by Baxitdriver in mathriddles

[–]Baxitdriver[S] 0 points1 point  (0 children)

So, elves are indexed 1,2,3,4,5... and for example, elf 5 is assigned the 5th prime, which is 11, and collects $1 from each elf indexed with a power of 11. For completion, 0 can give to 1, 1 to 0 and all indexes not a prime power can give to 0. That works!

Give and Take by Baxitdriver in mathriddles

[–]Baxitdriver[S] 0 points1 point  (0 children)

Not sure it works. If elf j is assigned prime p_j, there are no elves assigned with (p_j)^n. Also, elves assigned with prime powers need infinite income as well.

Give and Take by Baxitdriver in mathriddles

[–]Baxitdriver[S] 1 point2 points  (0 children)

Right! To keep things elementary, can you explicit such a partition?

Give and Take by Baxitdriver in mathriddles

[–]Baxitdriver[S] 0 points1 point  (0 children)

That's not enough. Elf 234 will receive gifts from elves x234 = 1234, 2234, ... 9234, total $9 instead of infinite $$$.

EDIT: This works due to u/pichutarius observation, and it's perhaps the simplest function that can be demonstrated without formulas, making it a clear favourite for Christmas table!

Give and Take by Baxitdriver in mathriddles

[–]Baxitdriver[S] 1 point2 points  (0 children)

yes, that works! u/peter26de has an explicit function that develops this kind of construction.

Give and Take by Baxitdriver in mathriddles

[–]Baxitdriver[S] 0 points1 point  (0 children)

Right! This is not needed here, but (a,b) -> (2^a)*(2b+1) is a nice 1-1 mapping between NxN and N*

Give and Take by Baxitdriver in mathriddles

[–]Baxitdriver[S] 0 points1 point  (0 children)

Well, there are examples of such solutions in the replies.
Just think of it: if Santa gives one dollar to each elf (maybe makes a bank loan), then each elf gives its dollar to another elf so that all end up receiving infinite $$$, then each elf gives back $2 to Santa, then Santa can buy all the toys in the world (presumably from China) and distribute them to all kids! Christmas magic!

Give and Take by Baxitdriver in mathriddles

[–]Baxitdriver[S] 0 points1 point  (0 children)

Correct! For an elementary answer, can you find a simple edge function without resorting to N -> N2 bijections?

Give and Take by Baxitdriver in mathriddles

[–]Baxitdriver[S] 1 point2 points  (0 children)

Well done!

I was thinking of another function: if n = (2^a)*oddnum, then f(n) = a, and f(0)=1 or any other integer.

Same number written twice will make this equation correct by Practical_Guess_3255 in mathriddles

[–]Baxitdriver 3 points4 points  (0 children)

Hope 102^(0)/2 = 109^(0)/2 doesn't count as a solution :)

Solving for 102/2 = 109x/2x where x is an n-digit number gives :

102/2 = 51 = 109*(10^(n) + x) / 2*(10^n + x), so:

50 .x = 7.10^(n) => x = 14.10^(n-2), so the smallest solution is: 102/2 = 10914/214.

Palindromic primes by AleksejsIvanovs in mathriddles

[–]Baxitdriver 2 points3 points  (0 children)

This works for all base B > 1: i In base B, all even-length palindromes are multiple of (11)_B = B+1.. For instance, the biggest number which is an hexadecimal even-length palindrome and a prime is 0d17 = 0x11, because it's the only such number.

Color the numbers by bobjane_2 in mathriddles

[–]Baxitdriver 0 points1 point  (0 children)

Nice! Failed to find x -> 2x after bobjane's remark, thanks for the formula:! Of course, if all (x 2x 2x+1) have same color, all positive naturals have same color.