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-1 of 1 results.

A345240 a(1) = 1; thereafter a(n) = A161406(a(n-1)).

Original entry on oeis.org

1, 52, 158, 229, 278, 284, 304, 235, 289, 291, 300, 153, 251, 298, 291, 300, 153, 251, 298, 291, 300, 153, 251, 298, 291, 300, 153, 251, 298, 291, 300, 153, 251, 298, 291, 300, 153, 251, 298, 291, 300, 153, 251, 298, 291, 300, 153, 251, 298, 291, 300, 153, 251, 298
Offset: 1

Views

Author

Omar E. Pol and N. J. A. Sloane, Jun 11 2021

Keywords

Comments

A Spanish analog of A345126 (British English) and A345157 (US English).
Starting from n = 10 the sequence becomes periodic with period 5: repeat [291, 300, 153, 251, 298].

Crossrefs

Programs

  • Mathematica
    a[1]=1;a[n_]:=a[n]=Total[If[#=="ñ",15,If[(s=LetterNumber@#)>14,s+1,s]]&/@Characters@StringDelete[IntegerName[a[n-1],"Spanish"],{" ","-"}]];Array[a,100] (* Giorgos Kalogeropoulos, Jun 11 2021 *)
    PadRight[{1,52,158,229,278,284,304,235,289},120,{300,153,251,298,291}] (* Harvey P. Dale, Sep 26 2024 *)
Showing 1-1 of 1 results.