login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A016082
Add 4, then reverse the decimal digits; start with 10.
5
10, 41, 54, 85, 98, 201, 502, 605, 906, 19, 32, 63, 76, 8, 21, 52, 65, 96, 1, 5, 9, 31, 53, 75, 97, 101, 501, 505, 905, 909, 319, 323, 723, 727, 137, 141, 541, 545, 945, 949, 359, 363, 763, 767, 177, 181, 581, 585, 985, 989, 399, 304, 803, 708, 217, 122, 621, 526
OFFSET
1,1
COMMENTS
Enters the cycle of length 54 given in A119031 at a(19) = 1. - M. F. Hasler, Mar 15 2022
MATHEMATICA
Reversal = ToExpression @ StringReverse @ ToString[ # ] &; a[ 1 ]=10; a[ n_Integer ] := Reversal[ a[ n - 1 ] + 4 ]; Table[ a[ n ], {n, 1, 80} ] (* Robert G. Wilson v *)
NestList[FromDigits[Reverse[IntegerDigits[# + 4]]] &, 10, 70] (* Harvey P. Dale, Jan 18 2011 *)
PROG
(PARI) A016082=vector(99, i, a=if(i>1, fromdigits(Vecrev(digits(a+4))), 10)) \\ M. F. Hasler, Mar 15 2022
(Python)
def A016082(N=99, a=10, d=4): # optional args: # terms, initial value, increment
for _ in range(N): yield a; a=int(str(a+d)[::-1])
list(A016082()) # M. F. Hasler, Mar 15 2022
CROSSREFS
All of A003608, A016081, A016082 (and possibly others) eventually reach the trajectory of 1 shown in A119031. Cf. A055198.
Sequence in context: A000449 A027274 A253674 * A346346 A003355 A247201
KEYWORD
nonn,base
EXTENSIONS
Edited by Charles R Greathouse IV, Aug 04 2010
Name edited by M. F. Hasler, Mar 15 2022
STATUS
approved