#!/bin/bash

num=0
output=0

while [ $output -le 500 ]
do 
    echo $output
    $((num++))
    output=$((num * 7))
done