code: def test_issue_13835():
      a = symbols("a")
      M = lambda n: Matrix(
          [[i + a * j for i in range(n)] for j in range(n)]
      )
      assert M(5).det() == 0
      assert M(6).det() == 0
      assert M(7).det() == 0
  
imports: import random
  import pytest
  from sympy.core.numbers import I
  from sympy.core.numbers import Rational
  from sympy.core.symbol import Symbol, symbols
  from sympy.functions.elementary.miscellaneous import sqrt
  from sympy.polys.polytools import Poly
  from sympy.matrices import Matrix, eye, ones
  from sympy.abc import x, y, z
  from sympy.testing.pytest import raises
  from sympy.matrices.exceptions import NonSquareMatrixError
  from sympy.functions.combinatorial.factorials import factorial, subfactorial
label_desc: Use image node_id 3 for calling a global function with example usage: test_issue_13835() without return types