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.

A214893 Conway's subprime Fibonacci sequence starting with (18, 5).

Original entry on oeis.org

18, 5, 23, 14, 37, 17, 27, 22, 7, 29, 18, 47, 13, 30, 43, 73, 58, 131, 63, 97, 80, 59, 139, 99, 119, 109, 114, 223, 337, 280, 617, 299, 458, 757, 405, 581, 493, 537, 515, 526, 347, 291, 319, 305, 312, 617, 929
Offset: 1

Views

Author

Wouter Meeussen, Jul 29 2012

Keywords

Comments

Similar to the Fibonacci recursion starting with (18, 5), but each new nonprime term is divided by its least prime factor. Sequence enters a loop of length 56 after 26 terms on reaching (119, 109).

Crossrefs

Programs

  • Mathematica
    see A214674
    nxt[{a_,b_}]:=Module[{c=a+b},{b,If[PrimeQ[c],c,c/FactorInteger[c][[1,1]]]}]; Transpose[NestList[nxt,{18,5},82]][[1]] (* Harvey P. Dale, Oct 19 2012 *)