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!)
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
J. Thiel, On RATS sequences in general bases, Integers, 14 (2014), #A50.
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
Sequence in context: A339749 A277859 A308566 * A105117 A100876 A089215
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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 08:27 EDT 2024. Contains 371964 sequences. (Running on oeis4.)