The article presents a theorem which concerns functions and sequences. This theorem can be used in order to create identities with a fractional numerical expression or a natural number on the one side and a nested radical on the other.