code: def test_AlgIntPowers_01():
      T = Poly(cyclotomic_poly(5))
      zeta_pow = AlgIntPowers(T)
      raises(ValueError, lambda: zeta_pow[-1])
      for e in range(10):
          a = e % 5
          if a < 4:
              c = zeta_pow[e]
              assert c[a] == 1 and all(
                  c[i] == 0 for i in range(4) if i != a
              )
          else:
              assert zeta_pow[e] == [-1] * 4
  
file_path: sympy/sympy/polys/numberfields/tests/test_utilities.py
imports: from sympy.abc import x
  from sympy.core.numbers import I, Rational
  from sympy.core.singleton import S
  from sympy.functions.elementary.miscellaneous import sqrt
  from sympy.polys import Poly, cyclotomic_poly
  from sympy.polys.domains import FF, QQ
  from sympy.polys.matrices import DomainMatrix, DM
  from sympy.polys.matrices.exceptions import DMRankError
  from sympy.polys.numberfields.utilities import AlgIntPowers, coeff_search, extract_fundamental_discriminant, isolate, supplement_a_subspace
  from sympy.printing.lambdarepr import IntervalPrinter
  from sympy.testing.pytest import raises
label_desc: Use image node_id 1 for calling a global function with example usage: test_AlgIntPowers_01() without return types