Question Number 224691 by lockedin last updated on 27/Sep/25

$$\mathrm{3}{k}+\mathrm{4}={n}^{\mathrm{2}} .\:{k},{n}\:\in\mathbb{N} \\ $$$${Find}\:{all}\:{n}\:{numbers}\:. \\ $$
Answered by Rasheed.Sindhi last updated on 27/Sep/25

$$\mathrm{3}{k}+\mathrm{4}={n}^{\mathrm{2}} .\:{k},{n}\:\in\mathbb{N} \\ $$$${n}^{\mathrm{2}} −\mathrm{4}=\mathrm{3}{k} \\ $$$$\left({n}−\mathrm{2}\right)\left({n}+\mathrm{2}\right)=\mathrm{3}{k} \\ $$$${n}−\mathrm{2}=\mathrm{3},\mathrm{6},\mathrm{9},…\:\mid\:{n}+\mathrm{2}=\mathrm{3},\mathrm{6},\mathrm{9},… \\ $$$${n}=\mathrm{5},\mathrm{8},\mathrm{11},…\:\:\:\mid\:{n}=\overset{×} {\mathrm{1}},\mathrm{4},\mathrm{7},… \\ $$$${n}=\mathrm{5}+\mathrm{3}{m}\:\mid\:{n}=\mathrm{4}+\mathrm{3}{m}\:;\:{m}=\mathrm{0},\mathrm{1},\mathrm{2},\mathrm{3},… \\ $$$${Or} \\ $$$${n}=\mathrm{2}+\mathrm{3}{m}\:{or}\:{n}=\mathrm{1}+\mathrm{3}{m}\:{for}\:{n}\in\mathbb{N} \\ $$