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.

A048339 a(n) in base 15 is a repdigit.

This page as a plain text file.
%I A048339 #25 Feb 16 2025 08:32:39
%S A048339 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,16,32,48,64,80,96,112,128,144,160,
%T A048339 176,192,208,224,241,482,723,964,1205,1446,1687,1928,2169,2410,2651,
%U A048339 2892,3133,3374,3616,7232,10848,14464,18080,21696,25312,28928,32544
%N A048339 a(n) in base 15 is a repdigit.
%H A048339 Vincenzo Librandi, <a href="/A048339/b048339.txt">Table of n, a(n) for n = 0..700</a>
%H A048339 Eric Weisstein's World of Mathematics, <a href="https://mathworld.wolfram.com/Repdigit.html">Repdigit</a>
%F A048339 From _Chai Wah Wu_, May 30 2016: (Start)
%F A048339 a(n) = 16*a(n-14) - 15*a(n-28) for n > 27.
%F A048339 G.f.: x*(14*x^13 + 13*x^12 + 12*x^11 + 11*x^10 + 10*x^9 + 9*x^8 + 8*x^7 + 7*x^6 + 6*x^5 + 5*x^4 + 4*x^3 + 3*x^2 + 2*x + 1)/(15*x^28 - 16*x^14 + 1). (End)
%F A048339 a(n) = (n - 14*floor((n-1)/14))*(15^floor((n+13)/14) - 1)/14. - _Ilya Gutkovskiy_, May 30 2016
%t A048339 Union[Flatten[Table[FromDigits[PadRight[{}, n, d], 15], {n, 0, 5}, {d, 14}]]] (* _Harvey P. Dale_, Feb 05 2014 *)
%o A048339 (Python)
%o A048339 A048339_list = [0] + [int(d*l,15) for l in range(1,10) for d in '123456789abcde'] # _Chai Wah Wu_, May 30 2016
%Y A048339 Cf. A010785, A033028, A028987, A028988.
%K A048339 nonn,base,easy
%O A048339 0,3
%A A048339 _Patrick De Geest_, Feb 15 1999