login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A225614 The smallest n-digit number whose first k digits are divisible by the k-th prime for k = 1..n. 5
2, 21, 210, 2100, 21076, 210769, 2107694, 21076947, 210769470, 6300846559 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
There are 10 terms in the series and the 10-digit number 6300846559 is the last number to satisfy the requirements.
LINKS
EXAMPLE
There are four one-digit numbers divisible by the first prime (2) and the smallest is 2, so a(1)=2.
For two-digit numbers, the second digit must make it divisible by 3, which gives 21 as smallest to satisfy the requirement, so a(2)=21.
MATHEMATICA
a=Table[j, {j, 2, 8, 2}]; r=2; t={}; While[!a == {}, n=Length[a]; nmin=First[a]; k=1; b={}; While[!k>n, z0=a[[k]]; Do[z=10*z0+j; If[Mod[z, Prime[r]]==0, b=Append[b, z]], {j, 0, 9}]; k++]; AppendTo[t, nmin]; a=b; r++]; t
CROSSREFS
Subsequence of A079206.
Sequence in context: A077249 A068070 A085953 * A303500 A037527 A131584
KEYWORD
nonn,base,fini,full
AUTHOR
Shyam Sunder Gupta, Aug 04 2013
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 7 21:53 EDT 2024. Contains 372317 sequences. (Running on oeis4.)