login
This site is supported by donations to The OEIS Foundation.

 

Logo

Annual Appeal: Please make a donation (tax deductible in USA) to keep the OEIS running. Over 5000 articles have referenced us, often saying "we discovered this result with the help of the OEIS".

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A031398 Squarefree n with no 4k+3 factors such that Pell equation x^2 - n y^2 = -1 is insoluble. 7
34, 146, 178, 194, 205, 221, 305, 377, 386, 410, 466, 482, 505, 514, 545, 562, 674, 689, 706, 745, 793, 802, 866, 890, 898, 905, 1154, 1186, 1202, 1205, 1234, 1282, 1345, 1346, 1394, 1405, 1469, 1513, 1517, 1537, 1538, 1717, 1762, 1802, 1858 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

Or, numbers n which are the sum of two relatively-prime squares but for which x^2 - n*y^2 does not represent -1.

Together with {1} and A003654 forms a disjoint partition of A020893. That is, A020893 = {1} U A003654 U A031398. [From Max Alekseyev, Mar 09 2010]

REFERENCES

Harvey Cohn, "Advanced Number Theory".

J. P. Robertson and K. R. Matthews, A continued fraction approach to a result of Feit, Amer. Math. Monthly, 115 (No. 4, 2008), 346-349.

LINKS

Jean-François Alcover, Table of n, a(n) for n = 1..1000

MATHEMATICA

sel = Select[Range[2000], SquareFreeQ[#] && FreeQ[Mod[FactorInteger[#][[All, 1]], 4], 3]&]; r[n_] := Reduce[x^2-n*y^2 == -1, {x, y}, Integers]; Reap[For[n=1, n <= Length[sel], n++, an = sel[[n]]; If[r[an] === False, Print[an]; Sow[an]]]][[2, 1]] (* Jean-François Alcover, Feb 04 2014 *)

CROSSREFS

Cf. A031396, A031397.

Sequence in context: A153465 A105714 A072319 * A259954 A180759 A159744

Adjacent sequences:  A031395 A031396 A031397 * A031399 A031400 A031401

KEYWORD

nonn

AUTHOR

David W. Wilson

EXTENSIONS

Edited by N. J. A. Sloane, Apr 28 2008, at the suggestion of Artur Jasinski.

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy .

Last modified December 7 11:15 EST 2016. Contains 278872 sequences.