I was practicing using Norm's mobile practice app (SD, NDAS, H17) and was presented a hand of 3, 2, 2, A vs. A. My thought was that I am supposed to hit this according to strategy but it seems right to stand. That sent me to the EOR tables in BJA3 and the instructions on page 500. The correct decision for hit/stand might be in literature somewhere, but I couldn't find it.
In programmer notation, I interpret your instructions as:
IF ( ((sum(EOR) * 51 / (52 * k - n)) + m) < 0) THEN stand
which I manipulated to be
IF ( sum(EOR) < -m * (52 * k - n) / 51) THEN stand
I did this because
-m * (52 * k - n) / 51
is a constant for any given k and n and it is easy to compare it to any sum(EOR).
BJA3 discusses the right play at SD for A7 vs. A, but what about soft 18 in hands of multiple cards. The constant for SD S17 with 3 card hands is -.0291, and for 4 card hands is -.0285. Sum(EOR) for any soft 18 that does not include a 6 will be smaller than the constant and therefore the right action is stand. Using the same approach for H17, you should stand on any multiple card hand comprised solely of A, 2, 3.
Against a ten (SD S17), the constants for 3 and 4 card hands are -3.3264 and -3.2571 and indicate standing on any soft 18 comprised solely of A, 2, 3.
Am I doing the math correctly?
Separate question: I don't have an EOR table in BJA3 for H17 for dealer upcards 7 through 10. Why?

