AoPS Wiki:Problem of the Day/August 14, 2011

Find all natural numbers $n$ for which each natural number written with $n-1$'ones' and one 'seven' is prime.