login
A091184
a(n) = (least prime beginning with prime(n) and having as many digits) - (least integer beginning with prime(n) and having as many digits).
0
3, 7, 21, 3, 21, 21, 9, 9, 3, 23, 291, 3, 149, 3, 137, 489, 47, 189, 63, 51, 103, 271, 59, 237, 331, 369, 531, 417, 249, 57, 223, 297, 29, 217, 473, 237, 571, 451, 279, 1457, 869, 213, 317, 609, 239, 57, 417, 583, 879, 493, 221, 989, 7, 819, 1389, 423, 27, 733, 309
OFFSET
1,1
FORMULA
a(n)=A090927(n) - prime(n)*10^(prime(n)-d), where d = the number of digits in prime(n).
CROSSREFS
Cf. A090927.
Sequence in context: A110149 A024331 A007174 * A174348 A196035 A196038
KEYWORD
base,easy,nonn
AUTHOR
Ray Chandler, Dec 29 2003
STATUS
approved