Analysis of magnetic behavior on a two-dimensional square–octagon lattice based on the Monte Carlo method | Synapse