OFFSET
1,1
LINKS
Harry J. Smith, Table of n, a(n) for n=1..200
FORMULA
Conjecture: a(n) = A000578(n), n>1. - R. J. Mathar, Aug 28 2014
Empirical g.f.: x*(2*x^4-8*x^3+13*x^2-4*x+3) / (x-1)^4. - Colin Barker, Aug 28 2014
MATHEMATICA
Do[k = 1; While[m = (k^7 + 1)/(n^7 + 1); m < 2 || !IntegerQ[m], k++ ]; Print[k], {n, 1, 40} ]
PROG
(PARI) { for (n=1, 200, f=n^7 + 1; a=n + 1; while (frac((a^7 + 1)/f) !=0, a++); write("b066023.txt", n, " ", a) ) } \\ Harry J. Smith, Nov 07 2009
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Robert G. Wilson v, Dec 11 2001
STATUS
approved