login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A244713 Positive numbers primitively represented by the binary quadratic form (1, 1, -2). 1
1, 4, 7, 10, 13, 16, 18, 19, 22, 25, 27, 28, 31, 34, 37, 40, 43, 45, 46, 49, 52, 54, 55, 58, 61, 64, 67, 70, 72, 73, 76, 79, 81, 82, 85, 88, 91, 94, 97, 99, 100, 103, 106, 108, 109, 112, 115, 118, 121, 124, 126, 127, 130, 133, 135, 136, 139, 142, 145, 148, 151 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

Discriminant = 9.

LINKS

Ray Chandler, Table of n, a(n) for n = 1..10000

N. J. A. Sloane et al., Binary Quadratic Forms and OEIS (Index to related sequences, programs, references)

FORMULA

Conjectures from Colin Barker, Oct 31 2016: (Start)

a(n) = a(n-1)+a(n-11)-a(n-12) for n>12.

G.f.: (1 +2*x)*(1 +x +x^2)*(1 +x^3 +x^7) / ((1 -x)^2*(1 +x +x^2 +x^3 +x^4 +x^5 +x^6 +x^7 +x^8 +x^9 +x^10)).

(End)

MATHEMATICA

Reap[For[n = 1, n < 1000, n++, r = Reduce[x^2 + x y - 2 y^2 == n, {x, y}, Integers]; If[r =!= False, If[AnyTrue[{x, y} /. {ToRules[r /. C[1] -> 0]}, CoprimeQ @@ # &], Sow[n]]]]][[2, 1]] (* Jean-Fran├žois Alcover, Oct 31 2016 *)

CROSSREFS

Cf. A002476, A007645. A subsequence of A056991 and A242660.

Sequence in context: A310677 A310678 A075990 * A184927 A026314 A070300

Adjacent sequences:  A244710 A244711 A244712 * A244714 A244715 A244716

KEYWORD

nonn

AUTHOR

Peter Luschny, Jul 04 2014

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
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 9 08:41 EDT 2020. Contains 333344 sequences. (Running on oeis4.)