Questions tagged [recreational-mathematics]

The tag has no usage guidance.

9
votes
1answer
282 views

Antipodal Land Area Calculation

Mathematica 12 does antipodal graphics! See here for my treatment of antipodal New Zealand. Most of the Earth's above-sea-level land will have ocean at its antipode. Is there a way to calculate what ...
4
votes
1answer
243 views

Pythagorean quadruples

I am very interested in the problem that deals with the Pythagorean quadrruples, which are listed in rosettacode. Unfortunately, I have not been able to find any way to compute them with Mathematica. ...
2
votes
1answer
153 views

How to calculate linear conflicts on a board?

Thanks to your help to solve previous problems, I have been able to advance in the learning of mathematica. It seems that this project to make a solver for the 8-puzzle has surpassed my abilities in ...
5
votes
2answers
137 views

Simplify the use of Table together with FoldList

I am trying to recreate the following table,where you have the question mark. to do it occupy the following commands, but I would like to help me improve my code to make it more practical especially ...
1
vote
0answers
102 views

Will my procedure be correct?

I am facing a problem when trying to solve the exercise of page 210 of the book GRAPHICS with MATHEMATICA, FRACTALS, JULIA SETS, PATTERNS and NATURAL FORMS of the authors CHONAT GETZ and JANET ...
1
vote
1answer
60 views

Problem with wrapping a basic function

I'm working my way through Mathematica Challenges and tripped myself up on the first question. I have a basic piece of code which works, but am having trouble formatting it to be a proper written ...
3
votes
1answer
173 views

Generating prime factorizations from an integer's digits by inserting * and ^ into the digit sequence

Problem Given a positive integer, output all possible valid prime-factorization "statements" thereof created by inserting zero or more multiplication (*) symbols and zero or more power (^) symbols ...
0
votes
2answers
206 views

Puzzle 2: Sum-Till Forty (Something Funny)

I am learning Mathematica because I love it. I also love solving puzzles so I think it would be a nice way to learn Mathematica through puzzles. This is the second puzzle in a series I intend to solve....
5
votes
1answer
346 views

Algorithm for Egyptian fractions, want to optimize the maximum denominator size

Any rational number can be expanded into a finite sum of unit fractions with distinct denominators, called Egyptian fractions. There is no 'optimal' algorithm in terms of denominator size or number ...
0
votes
1answer
68 views

How to figure out an equation from a plot?

I am trying to figure out the equations y=f(x) of the red dashed lines in this log-linear graph where the x values were plotted on a logarithmic scale while the y values were kept linear. I tried to ...
4
votes
2answers
153 views

Making a gift from the given set of points

I have a set of points ...
9
votes
2answers
528 views

Rotations of a number

If we start with a number like 1234 and produce the following sum 1234 + 123 + 12 + 1 = 1370. If we are given the 1370 can I retrieve the 1234? A similar question was migrated over to the Math.SE ...
4
votes
3answers
94 views

Function for converting to base b, taking derivative with respect to b and evaluating at b

I am relatively new to Mathematica and I would like to program a function taking 2 variables in and giving 1 output. I think the best way to describe the function is like so: Given a base 10 number x ...
6
votes
2answers
203 views

Can Mathematica help me win my on-line game?

I've become addicted to the Forge of Empires web browser game. Presently, the game has a special event going on, which is in commemoration of the 2016 EUFA Soccer Championship. The event has a set ...
15
votes
3answers
1k views

Can anyone explain this weird Plot3D error?

This is more of a fun question because I see the source of the error, but cannot explain what Plot3D is doing. Can you figure it out? ...
8
votes
3answers
686 views

Better answer to Santa's riddle about sum of a number's divisors?

I was hoping to find an elegant solution to this riddle, using only a line or two of Mathematica: Santa Claus was telling one of his elves: "If I multiply the age of three of my reindeer, I get ...
3
votes
4answers
510 views

Solving puzzles with Mathematica

I would like to be able to solve logic puzzles such as the one described here using Mathematica. I have copied & pasted the listed example below to save on jumping about with hyperlinks: The ...
12
votes
8answers
4k views

How to make a resizable chess board?

For some reason I need to create a chess board. I can create a chess board by following command: ...