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

A367355 Comma sequence, analogous to A121805, starting at 1, but the calculations are done in base 3.

Original entry on oeis.org

1, 5, 12, 13, 17, 25, 29, 36, 37, 41, 48, 49, 53, 61, 66, 68, 76
Offset: 1

Views

Author

N. J. A. Sloane, Nov 18 2023

Keywords

Crossrefs

A367605 and A367605 give the length and last term for the analogous sequence in base b.

Programs

  • Maple
    # Comma Successor in Maple in base "bas", from N. J. A. Sloane, Dec 06 2023
    bas := 3;
    Ldigit:=proc(n) local v; v:=convert(n, base, bas); v[-1]; end; # Returns leading digit
    # Return comma-successor to a or -1 if no successor exists
    commsucc := proc(a) local f,i,d;
    f := (a mod bas);
    d:=bas*f;
    for i from 1 to bas-1 do
    d := d+1;
    if Ldigit(a+d) = i then return(a+d); fi;
    od:
    return(-1);
    end;
    a:=[1]; s:=1; for n from 1 to 16 do s:=commsucc(s); a:=[op(a),s]; od: a;

A367604 Length of commas sequence (cf. A121805) if start at 1 and do the calculations in base n; or -1 if the sequence is infinite.

Original entry on oeis.org

-1, 17, 2, 1259, 3243760, 33779, 8367, 3, 2137453, 29347, 4, 27, 3097837317, 75455289096, 144693554136426354, 586, 8250248375768635503445567685, 4956282, 51496560713, 7977231, 4, 560002, 48, 779641, 10712620148411, 44948082868036315658034347512222651
Offset: 2

Views

Author

N. J. A. Sloane, Dec 08 2023

Keywords

Crossrefs

Cf. A121805, A367605 (last term).
The sequences for bases 3, 8, and 10 are A367355, A367344, and A121805.

Extensions

More terms from Michael S. Branicky, Dec 08 2023
Showing 1-2 of 2 results.