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!)
A048339 a(n) in base 15 is a repdigit. 2
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, 176, 192, 208, 224, 241, 482, 723, 964, 1205, 1446, 1687, 1928, 2169, 2410, 2651, 2892, 3133, 3374, 3616, 7232, 10848, 14464, 18080, 21696, 25312, 28928, 32544 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
LINKS
Eric Weisstein's World of Mathematics, Repdigit
FORMULA
From Chai Wah Wu, May 30 2016: (Start)
a(n) = 16*a(n-14) - 15*a(n-28) for n > 27.
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)
a(n) = (n - 14*floor((n-1)/14))*(15^floor((n+13)/14) - 1)/14. - Ilya Gutkovskiy, May 30 2016
MATHEMATICA
Union[Flatten[Table[FromDigits[PadRight[{}, n, d], 15], {n, 0, 5}, {d, 14}]]] (* Harvey P. Dale, Feb 05 2014 *)
PROG
(Python)
A048339_list = [0] + [int(d*l, 15) for l in range(1, 10) for d in '123456789abcde'] # Chai Wah Wu, May 30 2016
CROSSREFS
Sequence in context: A029960 A297286 A048326 * A023783 A344022 A166535
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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 12 10:09 EDT 2024. Contains 372452 sequences. (Running on oeis4.)