OFFSET
1,2
LINKS
Kenny Lau, Table of n, a(n) for n = 1..20000
EXAMPLE
MATHEMATICA
Select[Range[10^7], And[OddQ@ Length@#, Part[#, Ceiling[Length[#]/2]] == 0, Times @@ Boole@ Map[MemberQ[{0, 1, 6, 8, 9}, #] &, Union@ #] == 1, Count[#, 0] == 1, (Take[#, Floor[Length[#]/2]] /. {6 -> 9, 9 -> 6}) ==
Reverse@ Take[#, -Floor[Length[#]/2]]] &@ IntegerDigits@ # &] (* Michael De Vlieger, Jul 05 2016 *)
PROG
(Python)
import sys
f = open('b153806.txt', 'w')
i = 1
n = 0
a = [""]
r = [""] #reversed strobogrammatically
while True:
....for x, y in zip(a, r):
........f.write(str(i)+" "+x+"0"+y+"\n")
........i += 1
........if i>20000:
............f.close()
............sys.exit()
....a = sum([[x+"1", x+"6", x+"8", x+"9"] for x in a], [])
....r = sum([["1"+x, "9"+x, "8"+x, "6"+x] for x in r], [])
# Kenny Lau, Jul 05 2016
CROSSREFS
KEYWORD
base,easy,nonn
AUTHOR
Omar E. Pol, Jan 15 2009
EXTENSIONS
Extended beyond 11011 by R. J. Mathar, Jan 17 2009
STATUS
approved