|
|
A066803
|
|
a(n) = gcd(2^n + 1, 3^n + 1).
|
|
3
|
|
|
1, 5, 1, 1, 1, 5, 1, 1, 19, 25, 1, 1, 1, 145, 1, 1, 1, 5, 1, 1, 43, 5, 1, 97, 1, 265, 19, 1, 1, 25, 1, 1, 67, 5, 1, 1, 1, 5, 1, 1, 1, 145, 1, 1, 19, 5, 1, 1, 1, 12625, 307, 1, 1, 5, 1, 1, 1, 5, 1, 241, 1, 5, 817, 1, 1, 5, 1, 1, 139, 725, 1, 55969, 1, 745, 1, 1, 1, 265, 1, 1, 3097, 5, 499
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
Conjecture: a(2^k) = 1 for k != 1. That is to say, there is no prime p > 5 such that ord(2,p) and ord(3,p) is the same power of 2, where ord(a,p) is the multiplicative order of a modulo p. - Jianing Song, Nov 20 2021
|
|
LINKS
|
|
|
FORMULA
|
|
|
MAPLE
|
|
|
MATHEMATICA
|
|
|
PROG
|
(Python)
from math import gcd
def a(n): return gcd(2**n + 1, 3**n + 1)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|