cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A114012 Least multiple of prime(n) ending in digits of n.

This page as a plain text file.
%I A114012 #4 Dec 05 2013 19:57:13
%S A114012 14,55,26,17,38,69,2610,2511,2812,3813,4214,2115,3816,3717,2318,3819,
%T A114012 1420,5621,1422,6723,1424,2425,2626,927,428,8829,1130,6731,9432,1233,
%U A114012 834,2235,5436,6437,4238,2839,13840,14141,14842,13943,1544,16745,10746
%N A114012 Least multiple of prime(n) ending in digits of n.
%e A114012 a(11) =2511 is a multiple of prime(11)=31.
%t A114012 f[n_] := Block[{k = 1, p = Prime[n], m = 10^Floor[Log[10, n] + 1]}, While[ Mod[k*p, m] != n, k++ ]; k*p]; Table[ f[n], {n, 4, 46}] (* _Robert G. Wilson v_ *)
%Y A114012 Cf. A114011.
%K A114012 base,nonn
%O A114012 4,1
%A A114012 _Amarnath Murthy_, Nov 12 2005
%E A114012 More terms from _Robert G. Wilson v_, Nov 17 2005