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.

A100491 Periodicity of the reciprocal of the Mersenne numbers (A001348).

This page as a plain text file.
%I A100491 #9 May 26 2020 13:49:12
%S A100491 1,6,15,42,44,1365,3855,74898,44620,39672,195225786,616318176,
%T A100491 26815350376,1186422030,663226400,1001874900,4885233465012400,
%U A100491 1152921504606846975,10197205073773110,9758202933231640,2908370863958880,1152589154156603558,2895630705663782454386,103161669940448356241593685
%N A100491 Periodicity of the reciprocal of the Mersenne numbers (A001348).
%C A100491 "The answer to the second question, as to whether there is a point beyond which all primes yield periods shorter than p-1, is unknown. It is widely believed that there should be infinitely many primes for which the period is exactly p-1, but at present we cannot be certain." [Ball]
%D A100491 Keith Ball, Strange Curves, Counting Rabbits and other Mathematical Explorations, Princeton University Press, Princeton and Oxford, 2003, Page 57.
%p A100491 seq(numtheory:-order(10, 2^ithprime(i)-1),i=1..20); # _Robert Israel_, May 25 2020
%t A100491 f[n_] := Block[{ds = Divisors[n - 1]}, p = Position[ PowerMod[10, ds, n], 1]; If[p == {}, Length[ RealDigits[1/n][[1, 1]]], Take[ds, p[[1, 1]]][[ -1]]]]; Table[ f[2^Prime[n] - 1], {n, 11}]
%Y A100491 Cf. A001348.
%K A100491 base,nonn
%O A100491 1,2
%A A100491 _Robert G. Wilson v_, Nov 22 2004
%E A100491 More terms from _Robert Israel_, May 25 2020