Text this: On some Quadratic Diophantine Equations And Semiperfect Numbers