OFFSET
1,4
COMMENTS
The first composite term s of this sequence which is not multiple of a prime term appeared before s is a(245) = 29891 = 71*421 - neither of 71, 421 are terms before a(245). - Peter J. C. Moses, Mar 03 2013
The probability that n points uniformly distributed in (or on) a sphere are in the same hemisphere is (n^2-n+2)/2^n, for which this is the numerator. - Charles R Greathouse IV, Sep 18 2013
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
FORMULA
a(n) = A000265(n^2-n+2). - R. J. Mathar, Mar 10 2013
MAPLE
MATHEMATICA
Table[k = n^2 - n + 2; k/2^IntegerExponent[k, 2], {n, 100}] (* T. D. Noe, Mar 16 2013 *)
PROG
(PARI) a(n)=n=n^2-n+2; n>>valuation(n, 2) \\ Charles R Greathouse IV, Sep 18 2013
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vladimir Shevelev, Mar 03 2013
STATUS
approved