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!)
A191780 Triangle G(n,k): the value of n written in base k with digits reversed (but written here in base 10) for 2 <= k <= n. 2
1, 3, 1, 1, 4, 1, 5, 7, 5, 1, 3, 2, 9, 6, 1, 7, 5, 13, 11, 7, 1, 1, 8, 2, 16, 13, 8, 1, 9, 1, 6, 21, 19, 15, 9, 1, 5, 10, 10, 2, 25, 22, 17, 10, 1, 13, 19, 14, 7, 31, 29, 25, 19, 11, 1, 3, 4, 3, 12, 2, 36, 33, 28, 21, 12, 1, 11, 13, 7, 17, 8, 43, 41, 37, 31, 23, 13, 1, 7, 22, 11, 22, 14, 2, 49, 46, 41, 34, 25, 14, 1, 15, 7, 15, 3 (list; table; graph; refs; listen; history; text; internal format)
OFFSET
2,2
LINKS
EXAMPLE
The triangle starts
1;
3, 1;
1, 4, 1;
5, 7, 5, 1;
3, 2, 9, 6, 1;
MAPLE
A191780 := proc(n, k) d := ListTools[Reverse](convert(n, base, k)) ; add( op(i, d)*k^(i-1), i=1..nops(d)) ;
end proc: # R. J. Mathar, Aug 26 2011
MATHEMATICA
G[n_, k_] := IntegerDigits[n, k] // Reverse // FromDigits[#, k]&; Table[ G[n, k], {n, 2, 15}, {k, 2, n}] // Flatten (* Jean-François Alcover, Feb 10 2018 *)
CROSSREFS
Cf. A007088..A007095, A030101 (column k=2), A030102 (column k=3), A030103 (column k=4).
Sequence in context: A364082 A074927 A139605 * A098712 A264490 A299794
KEYWORD
nonn,tabl,base,easy
AUTHOR
EXTENSIONS
Corrected by R. J. Mathar, Aug 26 2011
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 April 24 20:08 EDT 2024. Contains 371963 sequences. (Running on oeis4.)