OFFSET
1,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
MATHEMATICA
f[n_]:=FromDigits[(IntegerDigits[n]/.{2->a, 3->b}) /.{a->3, b->2}]; f/@Prime[Range[80]] (* Harvey P. Dale, Apr 01 2011 *)
PROG
(PARI) a(n)=my(v=[0, 1, 3, 2, 4, 5, 6, 7, 8, 9]); apply(k->v[k+1], digits(prime(n))) \\ Charles R Greathouse IV, Jul 16 2013
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
N. J. A. Sloane and Vincenzo Librandi, Sep 04 2010
STATUS
approved