That code not running well

<%= @topic_view.topic.title %>
<%= @topic_view.topic.average_rating %> <%= @topic_view.topic.posts.count { |p| !!p.custom_fields['rating'] } %>

#!/bin/bash
for ip in ‘seq 2 254’; do
ping -c 1 $1.$ip | grep “64 Bytes” | cut -d " " -f 4 | tr -d “:” &
done

The result for that code should be shown all IPs for up running machines

But the current situation show this error message:
ping: 192.168.1.seq: Name or service not known

Note: That code i am running on KALI system.