Definition: two players, the first to place n stones in consecutive line (horizontal, vertical, diagonal) wins. A real-life examples are tic tac toe (n=3, k=3) and Gomoku (n=5, k=18). My question is, for what n and k does the game have a must-win strategy? A compromised question is, does there exist a general algorithm to approach the optimal strategy?
My journey in the world of math- A place to share where and how I came through.
Tuesday, May 18, 2021
Thursday, March 4, 2021
Mandelbrot Set Visualization
I'm working on a Java project to create a graph visualization for the famous Mandelbrot set. The logic is fairly straightforward, but I have difficulty finding a way to determine if a series converges or not- without burning out the computer CPU. What's even trickier is to determine the speed of divergence/convergence and color it accordingly.
[3/8/2021] Update: I finish the programming for the graphic-making part, and now it's time to improve my algorithm! The below image uses a very primitive method but it's the first one and is still exciting. Basically, for a point on the complex plane, I calculate the difference between two consecutive terms for the first 5 terms and sum the difference. If the sum is negative (decreasing on average), the point is black; if positive, then the value of the sum is used as the RGB code numbers. If exceeding 255, the point will be white.
Friday, February 19, 2021
Proving that Algebraic Numbers Form a Field
Sunday, January 31, 2021
Proof of a Relation Between Cross Product and Dot Product
This comes from an extra-credit question in my math class.
Prove: \( \vec a \times (\vec b \times \vec c) = (\vec a * \vec c)\vec b - (\vec a * \vec b)\vec c \)
I can prove it alternatively by manipulating the components algebraically with determinant calculations, but such an approach doesn't make any intuitive sense, and after all, it's boring.





