Find all files in the home directory and its subdirectories up to 5 levels deep and search for lines that contain only numbers and print the file names.
grep -rl '^[0-9]\+$' $(find ~/ -mindepth 1 -maxdepth 5 -type f)