login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A178070 Primes dividing repunits R(10^n) for some n. 3

%I #27 Jul 08 2023 20:08:10

%S 11,17,41,73,101,137,251,257,271,353,401,449,641,751,1201,1409,1601,

%T 3541,4001,4801,5051,9091,10753,15361,16001,19841,21001,21401,24001,

%U 25601,27961,37501,40961,43201,60101,62501,65537,69857,76001,76801,160001,162251,163841,307201,453377,524801,544001,670001,952001,976193,980801

%N Primes dividing repunits R(10^n) for some n.

%C Repunits are the numbers consisting entirely of 1's. The number represented by R(10^n) contains 10^n digits with all 1's. E.g., R(10^1) = 1111111111.

%C A prime p is here if the multiplicative order of 10 (mod p) is of the form 2^i*5^j, with i and j nonnegative.

%H Dario Alejandro Alpern, <a href="https://www.alpertron.com.ar/glpxm1.pl">Known prime factors of Googolplexplex - 1</a>

%H Project Euler, <a href="https://projecteuler.net/problem=133">Problem 133: Repunit nonfactors</a>

%H Robert P. Munafo, <a href="https://mrob.com/pub/math/numbers-22.html#lp2_e008_37">Notable Properties of Specific Numbers</a>

%e 17 divides R(10^4), so is in the sequence. - _Phil Carmody_, May 26 2011

%e Note that R(10^n) == 1 mod 3 for all n, so 3 is not a member. - _N. J. A. Sloane_, Jun 18 2014

%t Select[Prime[Range[4, 100000]], Complement[First /@ FactorInteger[MultiplicativeOrder[10, #]], {2, 5}] == {} &] (* _T. D. Noe_, May 26 2011 *)

%o (PARI) g=10^30;forprime(p=7,1000000,z=znorder(Mod(10,p));if(gcd(z,g)==z,print1(p", "))) \\ _Phil Carmody_, May 26 2011

%o (PARI) upTo(lim)=my(v=List(),g=10^(log(lim)\log(2))); forprime(p=7,lim,if(g%znorder(Mod(10,p))==0, listput(v,p))); Vec(v) \\ _Charles R Greathouse IV_, May 26 2011

%Y Cf. A227246.

%K nonn

%O 1,1

%A _Shashank Sharma_, May 19 2010, Aug 04 2010

%E Arbitrary limit removed and sequence extended by _Phil Carmody_, May 26 2011

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 09:08 EDT 2024. Contains 371964 sequences. (Running on oeis4.)