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!)
A048336 a(n) in base 12 is a repdigit. 2

%I #24 May 30 2016 18:26:07

%S 0,1,2,3,4,5,6,7,8,9,10,11,13,26,39,52,65,78,91,104,117,130,143,157,

%T 314,471,628,785,942,1099,1256,1413,1570,1727,1885,3770,5655,7540,

%U 9425,11310,13195,15080,16965,18850,20735,22621,45242,67863,90484,113105

%N a(n) in base 12 is a repdigit.

%H Harvey P. Dale, <a href="/A048336/b048336.txt">Table of n, a(n) for n = 0..1000</a>

%H Eric Weisstein's World of Mathematics, <a href="http://mathworld.wolfram.com/Repdigit.html">Repdigit</a>

%F From _Chai Wah Wu_, May 30 2016: (Start)

%F a(n) = 13*a(n-11) - 12*a(n-22) for n > 21.

%F G.f.: x*(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)/(12*x^22 - 13*x^11 + 1). (End)

%F a(n) = (n - 11*floor((n-1)/11))*(12^floor((n+10)/11) - 1)/11. - _Ilya Gutkovskiy_, May 30 2016

%t Join[{0},Sort[Flatten[Table[FromDigits[Table[n,{i}],12],{n,11},{i,99}]]]] (* _Harvey P. Dale_, May 01 2013 *)

%o (Python)

%o A048336_list = [0] + [int(d*l,12) for l in range(1,10) for d in '123456789ab'] # _Chai Wah Wu_, May 30 2016

%Y Cf. A010785, A033025, A028987, A028988.

%K nonn,base,easy

%O 0,3

%A _Patrick De Geest_, Feb 15 1999

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 April 25 10:34 EDT 2024. Contains 371967 sequences. (Running on oeis4.)