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

A101183 Number of times (>0) function f must be applied in A100800 to arrive at multiple of n, or 0 if multiple of n is never reached.

Original entry on oeis.org

1, 1, 1, 1, 1, 1, 1, 1, 1, 14, 32, 3, 12, 36, 3, 31, 10, 2, 71, 8, 8, 8, 11, 8, 67, 8, 3, 35, 35, 10, 31, 53, 22, 45, 38, 4, 59, 70, 44, 27, 27, 19, 44, 36, 5, 14, 47, 42, 33, 66, 16, 33, 42, 11, 105, 151, 5, 92, 69, 7, 7, 48, 6, 23, 20, 22, 7, 62, 22, 145, 7, 7, 20, 7, 58, 7, 184, 44
Offset: 1

Views

Author

Ray Chandler, Dec 19 2004

Keywords

Comments

Conjecture: No term is zero.

Examples

			a(10) = 14 since f has to be applied 14 times to 10 to arrive at 130, a multiple of 10.
		

Crossrefs

Programs

  • Maple
    f:= n -> n + convert(convert(n,base,10),`+`):
    g:= proc(n) local j,t;
      t:= n;
      for j from 1 do
        t:= f(t);
        if t mod n = 0 then return j fi
      od
    end proc:
    map(g, [$1..100]); # Robert Israel, May 14 2019

A100801 a(n) = A100800(n)/n.

Original entry on oeis.org

2, 2, 2, 2, 2, 2, 2, 2, 2, 13, 31, 2, 10, 28, 2, 20, 7, 2, 50, 4, 4, 4, 5, 4, 38, 4, 2, 14, 14, 4, 11, 23, 7, 17, 13, 2, 23, 25, 13, 8, 8, 5, 13, 10, 2, 4, 14, 10, 8, 19, 4, 8, 10, 3, 26, 38, 2, 22, 17, 2, 2, 10, 2, 5, 4, 4, 2, 13, 4, 29, 2, 2, 4, 2, 10, 2, 34, 7, 13, 19, 2, 19, 19, 5, 31
Offset: 1

Views

Author

Amarnath Murthy, Dec 17 2004

Keywords

Comments

Conjecture: No term is zero.

Examples

			a(10) = 130/10 = 13.
		

Crossrefs

Extensions

Extended by Ray Chandler, Dec 19 2004

A059792 Numbers k such that floor(Pi^k) is prime.

Original entry on oeis.org

1, 3, 4, 12, 73, 317, 2728, 6826, 7683, 7950, 14417, 44436, 63698
Offset: 1

Views

Author

Naohiro Nomoto, Feb 22 2001

Keywords

Examples

			Pi^3 = 31.0062766...; floor(Pi^3) = 31 is prime, hence 3 is a term.
		

Crossrefs

Programs

  • Mathematica
    Do[ If[ PrimeQ[ Floor[ Pi^n ] ], Print[n] ], {n, 0, 4000} ]
    $MaxExtraPrecision = 10^6; Do[k = Floor[Pi^n]; If[PrimeQ[k], Print[n]], {n, 1, 15000}] (* Ryan Propper, Oct 21 2005 *)

Extensions

More terms from Vladeta Jovovic, Feb 24 2001
One more term from Robert G. Wilson v, May 09 2001
a(8)-a(11) from Ryan Propper, Oct 21 2005
a(12)-a(13) from Donovan Johnson, Feb 05 2008
Showing 1-3 of 3 results.