By AN you mean american national? I believe the basic thread form is indeed the same as for UN though there may be differences in the tolerances/classes.
Also there is no formal UN equivalent to the smaller screws.
KENAT, probably the least qualified checker you'll ever meet...