login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 59th year, we have over 358,000 sequences, and we’ve crossed 10,300 citations (which often say “discovered thanks to the OEIS”).

Other ways to Give
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A213671 The odd part of n^2 - n + 2. 3
1, 1, 1, 7, 11, 1, 11, 29, 37, 23, 7, 67, 79, 23, 53, 121, 137, 77, 43, 191, 211, 29, 127, 277, 301, 163, 11, 379, 407, 109, 233, 497, 529, 281, 149, 631, 667, 11, 371, 781, 821, 431, 113, 947, 991, 259, 541, 1129, 1177, 613, 319, 1327, 1379, 179 (list; graph; refs; listen; history; text; internal format)
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

A213671 := proc(n)

A000265(n^2-n+2) ;

end proc: # R. J. Mathar, Mar 10 2013

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

Cf. A000265, A014206.

Sequence in context: A091920 A036934 A070421 * A050081 A144076 A113492

Adjacent sequences: A213668 A213669 A213670 * A213672 A213673 A213674

KEYWORD

nonn,easy

AUTHOR

Vladimir Shevelev, Mar 03 2013

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 November 27 09:16 EST 2022. Contains 358367 sequences. (Running on oeis4.)