Problem

Source: Hong Kong TST - HKTST 2022 2.3

Tags: number theory



Let $S$ be the set of all integers of the form $x^2+3xy+8y^2.$ where $x$ and $y$ are integers. (a) Show that if $u$ and $v$ are in $S,$ then so is $uv.$ (b) Can an integer of the form $23k + 7,$ with $k$ an integer, belong to $S$?