OFFSET
1,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
MATHEMATICA
FromDigits[IntegerDigits[#] /. {9 -> p, 1 -> q} /. {p -> 1, q -> 9}] & /@ Prime[Range[100]] (* Vincenzo Librandi, Apr 07 2013 *)
PROG
(PARI) a(n)=my(v=[0, 9, 2, 3, 4, 5, 6, 7, 8, 1]); subst(Pol(apply(k->v[k+1], digits(prime(n)))), 'x, 10) \\ Charles R Greathouse IV, Jul 31 2013
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
N. J. A. Sloane and Vincenzo Librandi, Sep 04 2010
STATUS
approved