OFFSET
1,2
COMMENTS
This form, (a^k+b^k)/(a+b), is a generalization of the Fermat numbers.
Not all integers are in this set.
See A227979 for the complement of this sequence.
LINKS
Robert Price, Table of n, a(n) for n = 1..134
J. Brillhart et al., Factorizations of b^n +- 1, Contemporary Mathematics, Vol. 22, Amer. Math. Soc., Providence, RI, 3rd edition, 2002.
H. Dubner and T. Granlund, Primes of the Form (b^n+1)/(b+1), J. Integer Sequences, 3 (2000), #P00.2.7.
H. Lifchitz, Mersenne and Fermat primes field
Eric Weisstein's World of Mathematics, Repunit.
MATHEMATICA
limit=105; lst = {}; Do[p = (a^k + b^k)/(a + b); If[p <= limit && IntegerQ[p], AppendTo[lst, p]], {k, Log[2, 3*limit+1]}, {b, 2, limit*2}, {a, b-1}]; Union[lst]
CROSSREFS
KEYWORD
nonn
AUTHOR
Robert Price, Sep 29 2013
STATUS
approved