login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A230428
Triangle T(n,k) giving the smallest term in "the infinite trunk of factorial beanstalk" (A219666) whose factorial base representation contains n digits (A084558) and the most significant such digit (A099563) is k.
4
1, 2, 5, 7, 12, 23, 25, 48, 74, 97, 121, 240, 362, 481, 605, 721, 1440, 2162, 2881, 3605, 4326, 5041, 10080, 15122, 20161, 25205, 30246, 35288, 40321, 80640, 120962, 161281, 201605, 241926, 282248, 322568, 362881, 725760, 1088642, 1451521, 1814405, 2177286, 2540168, 2903048, 3265923
OFFSET
1,2
EXAMPLE
The first rows of this triangular table are:
1;
2, 5;
7, 12, 23;
25, 48, 74, 97;
121, 240, 362, 481, 605;
...
T(3,1) = 7 as 7 has factorial base representation 101, which is the smallest such three digit term in A219666 beginning with factorial base digit 1 (in other words, for which A084558(x)=3 and A099563(x)=1).
T(3,2) = 12 as 12 has factorial base representation 200, which is the smallest such three digit term in A219666 beginning with factorial base digit 2.
T(3,3) = 23 as 23 has factorial base representation 321, which is the smallest such three digit term in A219666 beginning with factorial base digit 3.
PROG
(Scheme)
(define (A230428 n) (if (< n 3) n (let ((k (A002260 n))) (let loop ((i (A230429 n)) (prev_i 0)) (cond ((not (= (A099563 i) k)) prev_i) (else (loop (A219651 i) i)))))))
CROSSREFS
Subset of A219666. Corresponding largest terms: A230429. Cf. also A230420.
Sequence in context: A029938 A213044 A269769 * A071013 A114727 A295334
KEYWORD
nonn,base,tabl
AUTHOR
Antti Karttunen, Oct 18 2013
STATUS
approved