Recall that in both the Face and Story schemes, images are grouped into non-overlapping categories. In our derivations below, we make the simplifying assumption that images in a category are equivalent, that is, the specific images in a category that are available do not significantly influence a user's choice in picking a specific category.
First we introduce some notation. An -element tuple is denoted . If is either the Face or Story scheme, then the expression denotes the selection of an -tuple (a password or password prefix, consisting of image categories) according to , involving both user choices and random algorithm choices.