OFFSET
0,1
LINKS
Daniel Starodubtsev, Table of n, a(n) for n = 0..10000
FORMULA
a(n) = 7nn7.
EXAMPLE
If n=6, 7nn7 is 7667.
If n=15, 7nn7 is 715157 (a prime)
If n=18, 7nn7 is 718187 (a prime)
If n=19, 7nn7 is 719197 (a prime)
MAPLE
a:= n-> parse(cat(7, n, n, 7)):
seq(a(n), n=0..35); # Alois P. Heinz, Jan 24 2020
MATHEMATICA
Table[idn=IntegerDigits[n]; FromDigits[Join[{7}, idn, idn, {7}]], {n, 0, 30}] (* Harvey P. Dale, May 14 2013 *)
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
Parthasarathy Nambi, Jan 10 2005
STATUS
approved