login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A048336 a(n) in base 12 is a repdigit. 1
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 26, 39, 52, 65, 78, 91, 104, 117, 130, 143, 157, 314, 471, 628, 785, 942, 1099, 1256, 1413, 1570, 1727, 1885, 3770, 5655, 7540, 9425, 11310, 13195, 15080, 16965, 18850, 20735, 22621, 45242, 67863, 90484, 113105 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,3

LINKS

Harvey P. Dale, Table of n, a(n) for n = 0..1000

Eric Weisstein's World of Mathematics, Repdigit

FORMULA

From Chai Wah Wu, May 30 2016: (Start)

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

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)

a(n) = (n - 11*floor((n-1)/11))*(12^floor((n+10)/11) - 1)/11. - Ilya Gutkovskiy, May 30 2016

MATHEMATICA

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

PROG

(Python)

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

CROSSREFS

Cf. A010785, A033025, A028987, A028988.

Sequence in context: A043715 A029957 A048323 * A230776 A130574 A023780

Adjacent sequences:  A048333 A048334 A048335 * A048337 A048338 A048339

KEYWORD

nonn,base,easy

AUTHOR

Patrick De Geest, Feb 15 1999

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy .

Last modified July 23 22:27 EDT 2017. Contains 289716 sequences.