1000\{03,19,43,49,57,69} eval read n a[$_*$_] n+=(${!a[@]}) echo ${n[n-1]}