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.

A038527 Same as A038528, except you may rearrange the digits before applying f; sequence gives n such that f(f(f(...(n)))) = 0 or empty.

Original entry on oeis.org

1, 10, 12, 20, 21, 22, 100, 102, 103, 120, 123, 130, 132, 133, 200, 201, 202, 203, 210, 213, 220, 223, 230, 231, 232, 300, 301, 302, 303, 310, 312, 313, 320, 321, 322, 330, 331, 333, 1000, 1002, 1003, 1004, 1020, 1023, 1024, 1030, 1032, 1033, 1034
Offset: 1

Views

Author

Keywords

Examples

			10->1,0->01->1(1 digit)->empty;
200->2,0,0->020->20(2 digits)->0;
302->3,0,2(3 digits)->0,2->20(2 digits)->0;
517852555170->5,1,7,8,5,"2",5,5,5,"1",7,0(k=12)->(5,1,7,8,5,5,5,5,7,0),"12" ->5,"1",7,8,5,5,5,5,7,"0"(k=10)->(5,7,8,5,5,5,5,7),"10" ->5,7,"8",5,5,5,5,7(k=8)->(5,7,5,5,5,5,7),"8" ->5,"7",5,5,5,5,"7"(k=7)->(5,5,5,5,5),"7,7" ->"5,5,5,5,5"(k=5)->empty.
		

Crossrefs

Cf. A038528.

Extensions

Offset corrected and missing a(23)=230 inserted by Sean A. Irvine, Jan 16 2021

A138166 Numbers containing their length in their decimal representation.

Original entry on oeis.org

1, 12, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 32, 42, 52, 62, 72, 82, 92, 103, 113, 123, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 143, 153, 163, 173, 183, 193, 203, 213, 223, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 243, 253, 263, 273, 283
Offset: 1

Views

Author

Reinhard Zumkeller, Mar 03 2008

Keywords

Crossrefs

Cf. A038528 (subsequence).

Programs

  • Haskell
    import Data.List (isInfixOf)
    a138166 n = a138166_list !! (n-1)
    a138166_list = filter (\x -> show (a055642 x) `isInfixOf` show x) [0..]
    -- Reinhard Zumkeller, Jul 04 2012
Showing 1-2 of 2 results.