#!/bin/bash declare -i n read -p "请输入一个整数: " n for (( i=2; i