As GH mentioned discriminant $p = 4 u^2 + 1,$ here is one with class number one:
=========================================
jagy@phobeusjunior:~/old drive/home/jagy/Cplusplus$
jagy@phobeusjunior:~/old drive/home/jagy/Cplusplus$ ./indefCycle
Input three coefficients a b c for indef f(x,y)= a x^2 + b x y + c y^2
1 1 -169
0 form 1 25 -13 delta -1
1 form -13 1 13 delta 1
2 form 13 25 -1 delta -25
3 form -1 25 13 delta 1
4 form 13 1 -13 delta -1
5 form -13 25 1 delta 25
6 form 1 25 -13
minimum was 1rep 1 0 disc 677 dSqrt 26.019223663 M_Ratio 677
Automorph, written on right of Gram matrix:
-53 -1352
-104 -2653
Trace: -2706 gcd(a21, a22 - a11, a12) : 104
=========================================