OFFSET
1,1
MATHEMATICA
f[n_] := Block[{k = 2, m = n}, While[ IntegerDigits[k*m][[1]] != 5, k++ ]; k*m]; Table[ f[ Prime[n]], {n, 1, 55}]
CROSSREFS
KEYWORD
base,easy,nonn
AUTHOR
Amarnath Murthy, Nov 26 2002
EXTENSIONS
Edited, corrected and extended by Robert G. Wilson v, Nov 29 2002
STATUS
approved