cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Previous Showing 11-16 of 16 results.

A118360 Start with 1; repeatedly reverse the digits when the number is written in binary and add 2 to get the next term.

Original entry on oeis.org

1, 3, 5, 7, 9, 11, 15, 17, 19, 27, 29, 25, 21, 23, 31, 33, 35, 51, 53, 45, 47, 63, 65, 67, 99, 101, 85, 87, 119, 121, 81, 71, 115, 105, 77, 91, 111, 125, 97, 69, 83, 103, 117, 89, 79, 123, 113, 73, 75, 107, 109, 93, 95, 127, 129, 131, 195, 197, 165, 167, 231
Offset: 1

Views

Author

Jan Nordbotten (Jan.Nordbotten(AT)mi.uib.no), May 16 2006

Keywords

Examples

			After 11 = 11_10 = 1011_2 the next term is 1101_2 + 10_2 = 1111_2 = 15_10 = 15.
		

Crossrefs

Programs

  • Mathematica
    NestList[FromDigits[Reverse[IntegerDigits[#,2]],2]+2&,1,70] (* Harvey P. Dale, May 16 2021 *)

A118511 Define sequence S_n by: initial term = n, reverse digits and add 1 to get next term. It is conjectured that S_n always reaches a cycle of length 9, as in A117230. Sequence gives number of steps for S_n to reach the cycle.

Original entry on oeis.org

1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 18, 17, 15, 13, 11, 9, 7, 5, 3, 1, 16, 16, 15, 13, 11, 9, 7, 5, 3, 1, 14, 14, 14, 13, 11, 9, 7, 5, 3, 1, 12, 12, 12, 12, 11, 9, 7, 5, 3, 1, 10, 10, 10, 10, 10, 9, 7, 5, 3, 1, 8, 8, 8, 8, 8, 8, 7, 5, 3, 1, 6, 6, 6, 6, 6, 6, 6, 5, 3, 1, 4, 4, 4, 4, 4, 4, 4
Offset: 1

Views

Author

N. J. A. Sloane, May 06 2006

Keywords

Crossrefs

For records see A118510. Cf. A117831. S_1 is A117230, S_11 is A118512, S_13 is A118513.

A118518 Define sequence S_m by: initial term = m, reverse digits and add 3 to get next term. Entry shows S_2. This reaches a cycle of length 6 in 3 steps.

Original entry on oeis.org

2, 5, 8, 11, 14, 44, 47, 77, 80, 11, 14, 44, 47, 77, 80, 11, 14, 44, 47, 77, 80, 11, 14, 44, 47, 77, 80, 11, 14, 44, 47, 77, 80, 11, 14, 44, 47, 77, 80, 11, 14, 44, 47, 77, 80, 11, 14, 44, 47, 77, 80, 11, 14, 44, 47, 77, 80, 11, 14, 44, 47, 77, 80, 11, 14, 44, 47, 77, 80
Offset: 1

Views

Author

N. J. A. Sloane, May 06 2006

Keywords

Crossrefs

Cf. A117831, A118517 on.

Programs

  • Mathematica
    Join[{2,5,8},LinearRecurrence[{0,0,0,0,0,1},{11,14,44,47,77,80},66]] (* Ray Chandler, Jul 18 2015 *)
    NestList[IntegerReverse[#]+3&,2,70] (* Requires Mathematica version 10 or later *) (* or *) PadRight[{2,5,8},70,{47,77,80,11,14,44}] (* Harvey P. Dale, Jun 02 2017 *)

A118519 Define sequence S_m by: initial term = m, reverse digits and add 3 to get next term. Entry shows S_3. This reaches a cycle of length 6 in 3 steps.

Original entry on oeis.org

3, 6, 9, 12, 24, 45, 57, 78, 90, 12, 24, 45, 57, 78, 90, 12, 24, 45, 57, 78, 90, 12, 24, 45, 57, 78, 90, 12, 24, 45, 57, 78, 90, 12, 24, 45, 57, 78, 90, 12, 24, 45, 57, 78, 90, 12, 24, 45, 57, 78, 90, 12, 24, 45, 57, 78, 90, 12, 24, 45, 57, 78, 90, 12, 24, 45, 57, 78, 90
Offset: 1

Views

Author

N. J. A. Sloane, May 06 2006

Keywords

Crossrefs

Cf. A117831, A118517 on.

Programs

  • Mathematica
    Join[{3,6,9},LinearRecurrence[{0,0,0,0,0,1},{12,24,45,57,78,90},66]] (* Ray Chandler, Jul 18 2015 *)

A118521 Define sequence S_m by: initial term = m, reverse digits and add 3 to get next term. Entry shows S_6. This reaches a cycle of length 6 in 2 steps.

Original entry on oeis.org

6, 9, 12, 24, 45, 57, 78, 90, 12, 24, 45, 57, 78, 90, 12, 24, 45, 57, 78, 90, 12, 24, 45, 57, 78, 90, 12, 24, 45, 57, 78, 90, 12, 24, 45, 57, 78, 90, 12, 24, 45, 57, 78, 90, 12, 24, 45, 57, 78, 90, 12, 24, 45, 57, 78, 90, 12, 24, 45, 57, 78, 90, 12, 24, 45, 57, 78, 90
Offset: 1

Views

Author

N. J. A. Sloane, May 06 2006

Keywords

Crossrefs

Cf. A117831, A118517 on.

Programs

  • Mathematica
    NestList[FromDigits[Reverse[IntegerDigits[#]]]+3&,6,70] (* Harvey P. Dale, Sep 25 2012 *)
    Join[{6,9},LinearRecurrence[{0,0,0,0,0,1},{12,24,45,57,78,90},66]] (* Ray Chandler, Jul 18 2015 *)
    PadRight[{6,9},100,{78,90,12,24,45,57}] (* Harvey P. Dale, Oct 03 2015 *)

Formula

a(n)=A118519(n+1). [From R. J. Mathar, Aug 08 2008]

A118520 Define sequence S_m by: initial term = m, reverse digits and add 3 to get next term. Entry shows S_5. This reaches a cycle of length 6 in 2 steps.

Original entry on oeis.org

5, 8, 11, 14, 44, 47, 77, 80, 11, 14, 44, 47, 77, 80, 11, 14, 44, 47, 77, 80, 11, 14, 44, 47, 77, 80, 11, 14, 44, 47, 77, 80, 11, 14, 44, 47, 77, 80, 11, 14, 44, 47, 77, 80, 11, 14, 44, 47, 77, 80, 11, 14, 44, 47, 77, 80, 11, 14, 44, 47, 77, 80, 11, 14, 44, 47, 77, 80
Offset: 1

Views

Author

N. J. A. Sloane, May 06 2006

Keywords

Crossrefs

Cf. A117831, A118517 on.

Programs

  • Mathematica
    Join[{5,8},LinearRecurrence[{0,0,0,0,0,1},{11,14,44,47,77,80},66]] (* Ray Chandler, Jul 18 2015 *)

Formula

a(n) = A118518(n+1). - R. J. Mathar, Sep 02 2013
Previous Showing 11-16 of 16 results.