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.

Showing 1-10 of 16 results. Next

A102111 Iccanobirt numbers (1 of 15): a(n) = a(n-1) + a(n-2) + R(a(n-3)), where R is the digit reversal function A004086.

Original entry on oeis.org

0, 0, 1, 1, 2, 4, 7, 13, 24, 44, 99, 185, 328, 612, 1521, 2956, 4693, 8900, 20185, 33049, 53332, 144483, 291848, 459666, 1135955, 2443813, 4246722, 12285846, 19716010, 34278280, 118852511, 154192582, 281332336, 550783729, 1117407516, 2301424427
Offset: 0

Views

Author

Jonathan Vos Post and Ray Chandler, Dec 30 2004

Keywords

Comments

Digit reversal variation of tribonacci numbers A000073.
Inspired by Iccanobif numbers: A001129, A014258-A014260.

Crossrefs

Programs

  • Magma
    a:=[0,0,1];[n le 3 select a[n] else Self(n-1) + Self(n-2) + Seqint(Reverse(Intseq(Self(n-3)))):n in [1..36]]; // Marius A. Burtea, Oct 23 2019
  • Maple
    read("transforms") ;
    A102111 := proc(n)
        option remember;
        if n <= 2 then
            return op(n+1,[0,0,1]) ;
        else
            return procname(n-1)+procname(n-2)+digrev(procname(n-3)) ;
        end if;
    end proc:
    seq(A102111(n),n=0..20) ; # R. J. Mathar, Nov 17 2012
  • Mathematica
    R[n_]:=FromDigits[Reverse[IntegerDigits[n]]];Clear[a];a[0]=0;a[1]=0;a[2]=1;a [n_]:=a[n]=a[n-1]+a[n-2]+R[a[n-3]];Table[a[n], {n, 0, 40}]
    nxt[{a_,b_,c_}]:={b,c,IntegerReverse[a]+b+c}; NestList[nxt,{0,0,1},40][[;;,1]] (* Harvey P. Dale, Jul 18 2023 *)
  • Python
    def R(n):
      n_str = str(n)
      reversedn_str = n_str[::-1]
      reversedn = int(reversedn_str)
      return reversedn
    def A(n):
      if n == 0:
        return 0
      elif n == 1:
        return 0
      elif n == 2:
        return 1
      elif n >= 3:
        return A(n-1)+A(n-2)+R(A(n-3))
    for i in range(0,20):
      print(A(i)) # Dylan Delgado, Oct 23 2019
    

Formula

A004086(a(n)) = A102119(n).

A102185 Iccanobirt semiprime indices (15 of 15): Indices of semiprime numbers in A102125.

Original entry on oeis.org

5, 15, 16, 19, 20, 21, 22, 24, 28, 29, 35, 38, 44, 54, 58, 59, 72, 84, 106, 108, 137, 145, 174, 227, 238, 253, 258, 362, 363, 371, 388
Offset: 1

Views

Author

Jonathan Vos Post and Ray Chandler, Dec 31 2004

Keywords

Crossrefs

Formula

A102125(a(n)) = A102205(n).

Extensions

a(24)-a(27) from Robert Price, Nov 11 2018
Offset changed to 1 and a(28)-a(31) from Jinyuan Wang, Aug 15 2021

A102191 Iccanobirt semiprimes (1 of 15): Semiprime numbers in A102111.

Original entry on oeis.org

4, 185, 1135955, 550783729, 10755767351826313, 885150880428474601, 145045760838001005739, 276700469046311728441, 17906534239981723909956235510218343, 23104799226903739899579090259021365554, 504198286800075916303995704410366363448429, 2363732899718211729861685511671459865604449872085443
Offset: 1

Views

Author

Jonathan Vos Post and Ray Chandler, Dec 31 2004

Keywords

Crossrefs

Formula

a(n) = A102111(A102171(n)).

Extensions

Offset changed to 1 and more terms from Jinyuan Wang, Jul 31 2021

A102172 Iccanobirt semiprime indices (2 of 15): Indices of semiprime numbers in A102112.

Original entry on oeis.org

5, 9, 20, 29, 31, 32, 51, 54, 56, 76, 81, 83, 89, 98, 139, 145, 292, 314
Offset: 1

Views

Author

Jonathan Vos Post and Ray Chandler, Dec 31 2004

Keywords

Crossrefs

Formula

A102112(a(n)) = A102192(n).

Extensions

Offset changed to 1 and a(17)-a(18) from Jinyuan Wang, Aug 08 2021

A102184 Iccanobirt semiprime indices (14 of 15): Indices of semiprime numbers in A102124.

Original entry on oeis.org

5, 11, 19, 22, 28, 29, 42, 61, 68, 72, 108, 120, 126, 211, 223, 281, 301, 308, 333, 344, 347, 363, 435, 462, 519, 538, 605
Offset: 1

Views

Author

Jonathan Vos Post and Ray Chandler, Dec 31 2004

Keywords

Crossrefs

Formula

A102124(a(n)) = A102204(n).

Extensions

a(14)-a(15) from Robert Price, Nov 10 2018
Offset changed to 1 and a(16)-a(27) from Jinyuan Wang, Aug 15 2021

A102173 Iccanobirt semiprime indices (3 of 15): Indices of semiprime numbers in A102113.

Original entry on oeis.org

5, 9, 11, 16, 22, 29, 67, 72, 87, 90, 94, 95, 119, 123, 146, 188, 323, 330
Offset: 1

Views

Author

Jonathan Vos Post and Ray Chandler, Dec 31 2004

Keywords

Crossrefs

Programs

  • Mathematica
    nxt[{a1_,a2_,a3_}]:={a2,a3,a3+FromDigits[Reverse[IntegerDigits[a1]]]+ FromDigits[Reverse[IntegerDigits[a2]]]}; Flatten[Position[Transpose[ NestList[nxt,{0,0,1},200]][[1]],?(PrimeOmega[#]==2&)]]-1 (* _Harvey P. Dale, Oct 17 2012 *)

Formula

A102113(a(n)) = A102193(n).

Extensions

Offset changed to 1 and a(17)-a(18) from Jinyuan Wang, Aug 10 2021

A102174 Iccanobirt semiprime indices (4 of 15): Indices of semiprime numbers in A102114.

Original entry on oeis.org

5, 11, 18, 33, 35, 37, 43, 44, 56, 63, 93, 148, 175, 176, 204, 288, 317
Offset: 1

Views

Author

Jonathan Vos Post and Ray Chandler, Dec 31 2004

Keywords

Crossrefs

Programs

Formula

A102114(a(n)) = A102194(n).

Extensions

a(15) from Robert Price, Nov 08 2018
Offset changed to 1 and a(16)-a(17) from Jinyuan Wang, Aug 10 2021

A102175 Iccanobirt semiprime indices (5 of 15): Indices of semiprime numbers in A102115.

Original entry on oeis.org

5, 11, 12, 16, 17, 24, 28, 29, 43, 64, 70, 89, 94, 109, 134, 136, 138, 158, 194, 219, 316
Offset: 1

Views

Author

Jonathan Vos Post and Ray Chandler, Dec 31 2004

Keywords

Crossrefs

Formula

A102115(a(n)) = A102195(n).

Extensions

a(20) from Robert Price, Nov 08 2018
Offset changed to 1 and a(21) from Jinyuan Wang, Aug 12 2021

A102176 Iccanobirt semiprime indices (6 of 15): Indices of semiprime numbers in A102116.

Original entry on oeis.org

5, 9, 15, 22, 38, 44, 67, 84, 148, 154, 162, 186, 189, 227, 228, 275, 280, 285, 298, 349
Offset: 1

Views

Author

Jonathan Vos Post and Ray Chandler, Dec 31 2004

Keywords

Crossrefs

Formula

A102116(a(n)) = A102196(n).

Extensions

Offset changed to 1 and a(14)-a(20) from Jinyuan Wang, Aug 12 2021

A102177 Iccanobirt semiprime indices (7 of 15): Indices of semiprime numbers in A102117.

Original entry on oeis.org

5, 9, 22, 29, 33, 38, 41, 54, 60, 71, 82, 100, 107, 175, 180, 193, 217, 258, 259, 282, 295, 360, 382
Offset: 1

Views

Author

Jonathan Vos Post and Ray Chandler, Dec 31 2004

Keywords

Crossrefs

Programs

Formula

A102117(a(n)) = A102197(n).

Extensions

a(17) from Robert Price, Nov 09 2018
Offset changed to 1 and a(18)-a(23) from Jinyuan Wang, Aug 12 2021
Showing 1-10 of 16 results. Next