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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A288535 Array RATS(b,n) by upward antidiagonals: Reverse Add Then Sort digits of n>0 in base b>1. 3
1, 2, 3, 2, 4, 3, 2, 1, 4, 3, 2, 4, 6, 8, 3, 2, 4, 6, 5, 4, 3, 2, 4, 1, 8, 10, 8, 7, 2, 4, 6, 8, 6, 15, 4, 3, 2, 4, 6, 8, 10, 12, 5, 14, 3, 2, 4, 6, 1, 10, 7, 18, 10, 4, 15, 2, 4, 6, 8, 10, 12, 14, 24, 15, 8, 3, 2, 4, 6, 8, 10, 12, 8, 21, 6, 5, 4, 15, 2, 4, 6 (list; table; graph; refs; listen; history; text; internal format)
OFFSET

2,2

LINKS

Table of n, a(n) for n=2..82.

J. Thiel, On RATS sequences in general bases, Integers, 14 (2014), #A50.

Index entries for sequences related to RATS: Reverse, Add Then Sort

EXAMPLE

17 in base 3 is 122, 122+221=1120->112 which is 14 in decimal, thus RATS(3,17)=14.

The array begins:

1, 3, 3, 3,  3,  3,  7, ...

2, 4, 4, 8,  4,  8,  4, ...

2, 1, 6, 5, 10, 15,  5, ...

2, 4, 6, 8,  6, 12, 18, ...

2, 4, 1, 8, 10,  7, 14, ...

MATHEMATICA

rats[n_, b_: 10] := FromDigits[Sort[IntegerDigits[n + FromDigits[Reverse[IntegerDigits[n, b]], b], b]], b];

Flatten[Table[rats[n, s + 2 - n], {s, 20}, {n, s}]]

CROSSREFS

Cf. A004000, A036839 (row 10), A191780, A288536, A288537.

Sequence in context: A155520 A235912 A277859 * A105117 A100876 A089215

Adjacent sequences:  A288532 A288533 A288534 * A288536 A288537 A288538

KEYWORD

nonn,tabl,base,easy

AUTHOR

Andrey Zabolotskiy, Jun 11 2017

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 February 21 00:32 EST 2018. Contains 299388 sequences. (Running on oeis4.)