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!)
A214707 Least m>0 such that 3^n-m and 4^n-m are relatively prime. 3
1, 1, 1, 2, 2, 2, 1, 3, 1, 2, 2, 2, 1, 1, 2, 2, 1, 2, 1, 3, 1, 2, 2, 2, 2, 1, 1, 2, 2, 2, 1, 3, 2, 1, 2, 2, 1, 1, 1, 2, 2, 2, 2, 3, 2, 2, 1, 2, 1, 3, 1, 2, 2, 2, 2, 3, 1, 2, 1, 2, 1, 1, 1, 2, 2, 2, 1, 3, 2, 2, 1, 2, 1, 1, 2, 2, 2, 2, 1, 3, 1, 2, 2, 2, 2, 3, 2, 2, 2, 2, 1, 3, 1, 1, 2, 2, 1, 1, 2 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,4
LINKS
EXAMPLE
gcd(81-1,256-1) = 5 and gcd(81-2, 256-2) = 1, so a(4) = 2.
MATHEMATICA
Table[m = 1; While[GCD[3^n - m, 4^n - m] != 1, m++]; m, {n, 1, 140}]
CROSSREFS
Sequence in context: A205599 A327891 A265671 * A083039 A106253 A078720
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 July 22 09:18 EDT 2024. Contains 374485 sequences. (Running on oeis4.)