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!)
A214180 Least m>0 such that 2^n-m and 5^n-m are relatively prime. 3
1, 2, 1, 3, 1, 2, 1, 2, 1, 3, 1, 2, 1, 2, 3, 3, 1, 2, 1, 2, 1, 3, 1, 2, 1, 2, 1, 3, 1, 2, 1, 2, 1, 3, 3, 2, 1, 2, 3, 3, 1, 2, 1, 2, 3, 3, 1, 2, 1, 2, 1, 3, 1, 2, 1, 2, 1, 3, 1, 2, 1, 2, 1, 3, 1, 2, 1, 2, 1, 3, 1, 2, 1, 2, 3, 3, 1, 2, 1, 2, 1, 3, 1, 2, 1, 2, 1, 3, 1, 2, 1, 2, 1, 3, 3, 2, 1, 2, 3 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
a(616) = 5.
LINKS
EXAMPLE
gcd(16-1,625-1) = 3, gcd(16-2,625-2) = 7, gcd(16-3,625-3) = 1, so a(4) = 3.
MATHEMATICA
Table[m = 1; While[GCD[2^n - m, 5^n - m] != 1, m++]; m, {n, 1, 140}]
CROSSREFS
Sequence in context: A349258 A349326 A185894 * A343073 A184166 A029423
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Jul 27 2012
STATUS
approved

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 19 03:11 EDT 2024. Contains 371782 sequences. (Running on oeis4.)