Construction of a repetitive magic square with Ramanujan's number as its product

Heliyon. 2022 Nov 29;9(1):e12046. doi: 10.1016/j.heliyon.2022.e12046. eCollection 2023 Jan.

Abstract

In this article, we build a repetitive magic square by multiplying four elements. This square is a matrix with its corresponding elements. The elements of this matrix that take different values allow us to obtain Ramanujan's number 1729 as its multiplicative magic constant. The additive magic constant of the square is the number 40. The elements of these magic constants form an arithmetic progression. An algorithm to build magic squares is also proposed.

Keywords: Arithmetic progression; Diophantine equation; Latin square; Magic elements; Sequences; Square matrix.