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”).
%I #20 Sep 08 2022 08:44:57
%S 1,16,227,3182,44553,623748,8732479,122254714,1711566005,23961924080,
%T 335466937131,4696537119846,65751519677857,12887297856859986,
%U 2525910379944557271,495078434469133225132,97035373155950112125889
%N Take the first n numbers written in base 14, concatenate them, then convert from base 14 to base 10.
%H Vincenzo Librandi, <a href="/A048445/b048445.txt">Table of n, a(n) for n = 1..200</a>
%e a(14) = (1)(2)(3)(4)(5)(6)(7)(8)(9)(A)(B)(C)(D)(10) = 123456789ABCD10_14 = 12887297856859986.
%t If[STARTPOINT==1, n={}, n=Flatten[IntegerDigits[Range[STARTPOINT-1], 14]]]; Table[AppendTo[n, IntegerDigits[w, 14]]; n=Flatten[n]; FromDigits[n, 14], {w, STARTPOINT, ENDPOINT}] (* _Dylan Hamilton_, Aug 11 2010 *)
%t f[n_]:= FromDigits[Flatten@IntegerDigits[Range@n, 14], 14]; Array[f, 20] (* _Vincenzo Librandi_, Dec 30 2012 *)
%o (Magma) [n eq 1 select 1 else Self(n-1)*14^(1+Ilog(14, n))+n: n in [1..20]]; // _Vincenzo Librandi_, Dec 30 2012
%Y Cf. A014897.
%Y Concatenation of first n numbers in other bases: 2: A047778, 3: A048435, 4: A048436, 5: A048437, 6: A048438, 7: A048439, 8: A048440, 9: A048441, 10: A007908, 11: A048442, 12: A048443, 13: A048444, 14: this sequence, 15: A048446, 16: A048447.
%K nonn,base,easy
%O 1,2
%A _Patrick De Geest_, May 15 1999