# how to check if an integer is represented by a given quadratic form or not ?

The command "Q.representation_number_list(n)" will check the representations of integers from 0 to n-1 by Q. It is very time consuming.Is there some other command can check the representation of a single integer directly?

Isn't that what

`Q.is_locally_represented_number(n)`

does?This command gives answer if n is represented by Q over rational numbers, not over integers. I am looking for integral solutions. Thank you, Max!