cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Previous Showing 11-20 of 23 results. Next

A344231 Positive integers k properly represented by the positive definite binary quadratic form X^2 + 5*Y^2 = k, in increasing order.

Original entry on oeis.org

1, 5, 6, 9, 14, 21, 29, 30, 41, 45, 46, 49, 54, 61, 69, 70, 81, 86, 89, 94, 101, 105, 109, 126, 129, 134, 141, 145, 149, 161, 166, 174, 181, 189, 201, 205, 206, 214, 229, 230, 241, 245, 246, 249, 254, 261, 269, 270, 281, 294, 301, 305, 309, 321, 326, 329, 334, 345, 349, 366, 369, 381, 389, 401, 405
Offset: 1

Views

Author

Wolfdieter Lang, Jun 10 2021

Keywords

Comments

This is one of the bisections of sequence A343238. The other sequence is A344232.
This is a proper subsequence of A020669.
The primes in this sequence are given in A033205.
Discriminant Disc = -20 = -4*5. Class number h(-20) = A000003(5) = 2. The reduced primitive forms representing the two proper (determinant = +1) equivalence classes are the present principal form F1 = [1, 0, 5] and F2 = [2, 2, 3] treated in A344232.
A positive integer k is properly represented by some primitive form of Disc = -20 if and only if the congruence s^2 + 20 == 0 (mod 4*k) has a solution. See, e.g., Buell Proposition 41, p. 50, or Scholz-Schoeneberg Satz 74, p. 105. That is, x^2 + 5 == 0 (mod k), with s = 2*x. For the representative solutions x from {0, 1, ..., k-1}, with k from A343238, see A343239. These solutions x determine the so-called representative parallel primitive forms (rpapfs) [k, 2*x, (x^2 + 5)/k] representing k. They are properly equivalent (via so called R(t)-transformations) to one of the reduced forms F1 or F2. (See also W. Lang's links in A225953 and A324251, but there indefinite forms are considered.)
In order to find out which k from A343238 is represented either by form F1 or F2 the two generic multiplicative characters of Disc = -20, namely Legendre(k|p), with the odd prime p = 5 which divides Disc = -20, and Jacobi(-1|k) can be used. See Buell, pp. 51-52. They lead to the two classes of genera of Disc -20.
The present genus I, the principal one, has for odd primes p, not 5, the values Legendre(p|5) = Legendre(5|p) = +1 and Jacobi(-1|p) = Legendre(-1|p) = +1, leading for odd primes not equal to 5 to A033205. The prime 2 is not represented. The prime 5 is trivially represented. For the other genus II these two characters have values -1. There prime 2 is represented.
For composite k the prime number factorization is used, and for powers of primes the lifting theorem is employed (see, e.g., Apostol, p. 121, Theorem 5.30). The solution for prime 2 represented by form F2 = [2, 2, 3] (from the other genus II) is not liftable to powers of 2. The solution for prime 5 is also not liftable (proof by induction). The solutions of the other primes from A033205 and A106865 are uniquely liftable to powers of these primes. See A343238 for all properly represented k for Disc = -20.
For the present genus I the properly represented integers k are given by 2^a*5^b*Product_{j=1..PI} (pI_j)^(eI(j))*Product_{k=1..PII} (pII_k)^(eII(k)), with a and b from {0, 1} but if PI = PII = 0 (empty products are 1) then a = b = 0 giving a(1) = 1. The odd primes pI_j are from A033205 (== {1, 9} (mod 20)), the primes pII_k are from the odd primes of A106865 (== {3, 7}(mod 20)). The exponents of the second product are restricted: if a = 1 then PII >= 1 and Sum_{k=1..PII} eII(k) is odd. If a = 0 then PII >= 0, and if PII >= 1 then this sum is even.
Neighboring numbers k (twins) begin: [5, 6], [29, 30], [45, 46], [69, 70], [205, 206], [229, 230], [245, 246], [269, 270], [405, 406], ...
For the solutions (X, Y) of F2 = [1, 0, 5] properly representing k = a(n) see A344233.

References

  • Tom M. Apostol, Introduction to Analytic Number Theory, Springer-Verlag, 1976, pp 121 - 122.
  • D. A. Buell, Binary Quadratic Forms, Springer, 1989.
  • A. Scholz and B. Schoeneberg, Einführung in die Zahlentheorie, Sammlung Göschen Band 5131, Walter de Gruyter, 1973.

Crossrefs

A091729 Norms of prime elements of Z[sqrt(-5)].

Original entry on oeis.org

5, 29, 41, 61, 89, 101, 109, 121, 149, 169, 181, 229, 241, 269, 281, 289, 349, 361, 389, 401, 409, 421, 449, 461, 509, 521, 541, 569, 601, 641, 661, 701, 709, 761, 769, 809, 821, 829, 881, 929, 941, 961, 1009
Offset: 1

Views

Author

Paul Boddington, Feb 02 2004

Keywords

Comments

Consists of those primes congruent to 1, 5, 9 (mod 20) together with the squares of those primes congruent to -1, -3, -7, -9 (mod 20). Suppose n appears in this sequence. Then the number of prime elements of norm n is 2 if n is 5 or a square and 4 otherwise.

References

  • David A. Cox, Primes of the form x^2+ny^2, Wiley, 1989.
  • A. Frohlich and M. J. Taylor, Algebraic number theory, Cambridge university press, 1991.

Crossrefs

Cf. A033205 (a subset), A033429, A038872.
The sequence of norms of prime ideals in the ring Z[sqrt(-5)] is A091727.

Programs

  • PARI
    list(lim)=my(v=List([5]),t); forprime(p=29,lim, t=p%20; if(t==1||t==9, listput(v,p))); forprime(p=11,sqrtint(lim\1), t=p%20; if(t==11||t==13||t==17||t==19, listput(v,p^2))); Set(v) \\ Charles R Greathouse IV, Feb 09 2017

Extensions

a(43) corrected by Charles R Greathouse IV, Feb 09 2017

A344232 All positive integers k properly represented by the positive definite binary quadratic form 2*X^2 + 2*X*Y + 3*Y^2 = k, in increasing order.

Original entry on oeis.org

2, 3, 7, 10, 15, 18, 23, 27, 35, 42, 43, 47, 58, 63, 67, 82, 83, 87, 90, 98, 103, 107, 115, 122, 123, 127, 135, 138, 147, 162, 163, 167, 178, 183, 202, 203, 207, 210, 215, 218, 223, 227, 235, 243, 258, 263, 267, 282, 283, 287, 290, 298, 303, 307, 315, 322, 327, 335, 343, 347, 362, 367, 378, 383, 387
Offset: 1

Views

Author

Wolfdieter Lang, Jun 10 2021

Keywords

Comments

This is one of the bisections of sequence A343238. The other sequence is A344231.
This is a proper subsequence of A029718.
The primes in this sequence are given in A106865.
See A344231 for more details.
The reduced form [2, 2, 3] represents the proper (determinant +1) equivalence class of one of the two genera (genus II) of discriminant -20. The multiplicative generic characters for discriminant Disc = -20 have values Jacobi(a(n)|5) = -1 and Jacobi(-1|a(n)) = -1, for odd a(n) not divisible by 5. See Buell, p. 52.
The product of any two odd a(n), not divisible by 5, is congruent to {1,5} (mod 8). See Buell, 4), p. 51.
For this genus II of Disc = -20 the positive integers represented are given by 2^a*5^b*Product_{j=1..PI} (pI_j)^(eI(j))*Product_{k=1..PII}(pII_k)^(eII(k)), with a and b from {0, 1}, but if PI = PII = 0 (empty products are 1) then (a, b) = (1, 0) or (1, 1), giving a(1) = 2 or a(4) = 10. The odd primes pI_j are from A033205 and the odd primes pII_j from the odd primes of A106865. The exponents of the second product satisfy: if a = 1 then PII >= 0, and if PII >=1 then Sum_{k=1..PII} eII(j) is even. If a = 0 then PII >= 1 and this sum is odd.
The neighboring numbers k (twins) begin: [42, 43], [82, 83], [122, 123] [162, 163], [202, 203], [282, 283], ...
For the solutions (X, Y) of F2 = [2, 2, 3] properly representing k = a(n) see A344234.

References

  • D. A. Buell, Binary Quadratic Forms, Springer, 1989.
  • A. Scholz and B. Schoeneberg, Einführung in die Zahlentheorie, Sammlung Göschen Band 5131, Walter de Gruyter, 1973.

Crossrefs

A121568 Fibonacci[ (p - 1)/2 ], where p = Prime[n].

Original entry on oeis.org

1, 1, 2, 5, 8, 21, 34, 89, 377, 610, 2584, 6765, 10946, 28657, 121393, 514229, 832040, 3524578, 9227465, 14930352, 63245986, 165580141, 701408733, 4807526976, 12586269025, 20365011074, 53316291173, 86267571272, 225851433717
Offset: 2

Views

Author

Alexander Adamchuk, Aug 07 2006

Keywords

Comments

p = Prime[n] divides a(n) = Fibonacci[(p-1)/2] for p = {29,41,61,89,101,109,149,181,229,241,269,281,349,381,...} = A033205[n] Primes of form x^2+5*y^2 excluding A033205[1] = 5.

Crossrefs

Programs

  • Mathematica
    Table[Fibonacci[(Prime[n]-1)/2],{n,2,50}]

Formula

a(n) = Fibonacci[ (Prime[n]-1)/2 ], n>1.

A215809 Prime numbers n for which the Lucas number L(n) (see A000032) is the sum of two squares.

Original entry on oeis.org

3, 7, 13, 19, 31, 37, 43, 61, 67, 73, 79, 127, 163, 199, 223, 307, 313, 349, 397, 433, 523, 541, 613, 619, 709, 823, 907, 1087, 1123, 1129, 1213, 1279, 1531
Offset: 1

Views

Author

V. Raman, Aug 23 2012

Keywords

Comments

These Lucas numbers L(n) have no prime factor congruent to 3 mod 4 to an odd power.
Also prime numbers n such that the Lucas number L(n) can be written in the form a^2 + 5*b^2.
Any prime factor of Lucas(n) for n prime is always of the form 1 (mod 10) or 9 (mod 10).
A number n can be written in the form a^2+5*b^2 (see A020669) if and only if n is 0,
or of the form 2^(2i) 5^j Prod_{p==1 or 9 mod 20} p^k Prod_{q==3 or 7 mod 20) q^(2m)
or of the form 2^(2i+1) 5^j Prod_{p==1 or 9 mod 20} p^k Prod_{q==3 or 7 mod 20) q^(2m+1),
for integers i,j,k,m, for primes p,q.
1607 <= a(34) <= 1747. 1747, 1951, 2053, 2467, 5107, 5419, 5851, 7243, 7741, 8467, 13963, 14449, 14887, 15511, 15907, 35449, 51169, 193201, 344293, 387433, 574219, 901657, 1051849 are terms. - Chai Wah Wu, Jul 22 2020

Examples

			Lucas(19) = 9349 = 95^2 + 18^2.
Lucas(19) = 9349 = 23^2 + 5*42^2.
		

Crossrefs

Cf. A020669, A033205 (numbers and primes of the form x^2 + 5*y^2).

Programs

  • PARI
    forprime(i=2, 500, a=factorint(fibonacci(i-1)+fibonacci(i+1))~; has=0; for(j=1, #a, if(a[1, j]%4==3&&a[2, j]%2==1, has=1; break)); if(has==0, print(i", "))) \\ a^2+b^2 form.
    
  • PARI
    forprime(i=2, 500, a=factorint(fibonacci(i-1)+fibonacci(i+1))~; flag=0; flip=0; for(j=1, #a, if(((a[1, j]%20>10))&&a[2, j]%2==1, flag=1); if(((a[1, j]%20==2)||(a[1, j]%20==3)||(a[1, j]%20==7))&&a[2, j]%2==1, flip=flip+1)); if(flag==0&&flip%2==0, print(i", "))) \\ a^2+5*b^2 form.

Extensions

Merged A215941 into this sequence, T. D. Noe, Sep 21 2012
a(30)-a(33) from Chai Wah Wu, Jul 22 2020

A215907 Odd numbers n such that the Lucas number L(n) is the sum of two squares.

Original entry on oeis.org

1, 3, 7, 13, 19, 31, 37, 43, 49, 61, 67, 73, 79, 91, 111, 127, 163, 169, 183, 199, 223, 307, 313, 349, 361, 397, 433, 511, 523, 541, 613, 619, 709, 823, 907, 1087, 1123, 1129, 1147, 1213, 1279, 1434
Offset: 1

Views

Author

V. Raman, Aug 26 2012

Keywords

Comments

These Lucas numbers L(n) have no prime factor congruent to 3 mod 4 to an odd power.
Also, numbers n such that L(n) can be written in the form a^2 + 5*b^2.
Subsequence of A124132.
Is this A124132 without the 6? - Joerg Arndt, Sep 07 2012
Any prime factor of Lucas(n) for the prime values of n is always of the form 1 (mod 10) or 9 (mod 10).
A number n can be written in the form a^2 + 5*b^2 if and only if n is 0, or of the form 2^(2i) 5^j Product_{p==1 or 9 mod 20} p^k Product_{q==3 or 7 mod 20) q^(2m) or of the form 2^(2i+1) 5^j Product_{p==1 or 9 mod 20} p^k Product_{q==3 or 7 mod 20) q^(2m+1), for integers i,j,k,m, for primes p,q.
1501 <= a(42) <= 1531. 1531, 1651, 1747, 1849, 1951, 2053, 2413, 2449, 2467, 4069, 5107, 5419, 5851, 7243, 7741, 8467, 13963, 14449, 14887, 15511, 15907, 35449, 51169, 193201, 344293, 387433, 574219, 901657, 1051849 are terms. - Chai Wah Wu, Jul 22 2020

Examples

			Lucas(19) = 9349 = 95^2 + 18^2.
Lucas(19) = 9349 = 23^2 + 5*42^2.
		

Crossrefs

Cf. A180363.
Cf. A020669, A033205 (numbers and primes of the form x^2 + 5*y^2).

Programs

  • PARI
    for(i=2, 500, a=factorint(fibonacci(i-1)+fibonacci(i+1))~; has=0; for(j=1, #a, if(a[1, j]%4==3&&a[2, j]%2==1, has=1; break)); if(has==0&&i%2==1, print(i", "))) \\ a^2 + b^2 form.
    
  • PARI
    for(i=2, 500, a=factorint(fibonacci(i-1)+fibonacci(i+1))~; flag=0; flip=0; for(j=1, #a, if(((a[1, j]%20>10))&&a[2, j]%2==1, flag=1); if(((a[1, j]%20==2)||(a[1, j]%20==3)||(a[1, j]%20==7))&&a[2, j]%2==1, flip=flip+1)); if(flag==0&&flip%2==0, print(i", "))) \\ a^2 + 5*b^2 form.

Extensions

17 more terms from V. Raman, Aug 28 2012
A215940 merged into this sequence by T. D. Noe, Sep 21 2012
a(38)-a(41) from Chai Wah Wu, Jul 22 2020

A215938 Numbers n such that the Fibonacci number F(n) can be written in the form a^2 + 5*b^2.

Original entry on oeis.org

1, 2, 5, 8, 11, 12, 25, 29, 32, 41, 48, 55, 89, 121, 125, 128, 131, 145, 179, 192, 205, 275, 331, 359, 401, 421, 431, 445, 449, 509, 512, 569, 571, 601, 605, 625, 631, 655, 659, 691, 725, 768, 895, 911, 1025, 1375
Offset: 1

Views

Author

V. Raman, Aug 27 2012

Keywords

Comments

A number n can be written in the form a^2+5*b^2 if and only if n is 0, or of the form 2^(2i) 5^j Prod_{p==1 or 9 mod 20} p^k Prod_{q==3 or 7 mod 20) q^(2m) or of the form 2^(2i+1) 5^j Prod_{p==1 or 9 mod 20} p^k Prod_{q==3 or 7 mod 20) q^(2m+1), for integers i,j,k,m, for primes p,q.

Crossrefs

Cf. A020669, A033205 (numbers and primes of the form x^2 + 5*y^2).

Programs

  • PARI
    for(i=2, 500, a=factorint(fibonacci(i))~; flag=0; flip=0; for(j=1, #a, if(((a[1, j]%20>10))&&a[2, j]%2==1, flag=1); if(((a[1, j]%20==2)||(a[1, j]%20==3)||(a[1, j]%20==7))&&a[2, j]%2==1, flip=flip+1)); if(flag==0&&flip%2==0, print(i", ")))

Extensions

Terms corrected by V. Raman, Sep 20 2012
a(46) from Amiram Eldar, Oct 14 2019

A215939 Prime numbers n such that the Fibonacci number F(n) can be written in the form a^2 + 5*b^2.

Original entry on oeis.org

2, 5, 11, 29, 41, 89, 131, 179, 331, 359, 401, 421, 431, 449, 509, 569, 571, 601, 631, 659, 691, 911
Offset: 1

Views

Author

V. Raman, Aug 27 2012

Keywords

Comments

A number n can be written in the form a^2+5*b^2 if and only if n is 0, or of the form 2^(2i) 5^j Prod_{p==1 or 9 mod 20} p^k Prod_{q==3 or 7 mod 20) q^(2m) or of the form 2^(2i+1) 5^j Prod_{p==1 or 9 mod 20} p^k Prod_{q==3 or 7 mod 20) q^(2m+1), for integers i,j,k,m, for primes p,q.

Crossrefs

Cf. A020669, A033205 (numbers and primes of the form x^2 + 5*y^2).

Programs

  • PARI
    forprime(i=2, 500, a=factorint(fibonacci(i))~; flag=0; flip=0; for(j=1, #a, if(((a[1, j]%20>10))&&a[2, j]%2==1, flag=1); if(((a[1, j]%20==2)||(a[1, j]%20==3)||(a[1, j]%20==7))&&a[2, j]%2==1, flip=flip+1)); if(flag==0&&flip%2==0, print(i", ")))

Extensions

Terms corrected by V. Raman, Sep 20 2012

A216277 Primes which cannot be written as x^2 + 5*y^2, where x >= 0, y >= 0.

Original entry on oeis.org

2, 3, 7, 11, 13, 17, 19, 23, 31, 37, 43, 47, 53, 59, 67, 71, 73, 79, 83, 97, 103, 107, 113, 127, 131, 137, 139, 151, 157, 163, 167, 173, 179, 191, 193, 197, 199, 211, 223, 227, 233, 239, 251, 257, 263, 271, 277, 283, 293, 307, 311, 313, 317, 331, 337, 347, 353, 359, 367, 373, 379, 383, 397, 419
Offset: 1

Views

Author

V. Raman, Sep 03 2012

Keywords

Comments

Primes which are not congruent to 1, 5, or 9 (mod 20).
A216286 is the union of {5} and this sequence. - N. J. A. Sloane, Sep 04 2012

References

  • David A. Cox, Primes of the Form x^2 + n y^2, Wiley, 1989. See Eq. (1.20), p. 19 and Eq. (2.22), p. 32. - N. J. A. Sloane, Sep 03 2012

Crossrefs

Cf. A033205.

Programs

  • PARI
    list(lim)=my(v=List(),t); forprime(p=2,lim, t=p%20; if(t!=1 && t!=9 && t!=5, listput(v,p))); Vec(v) \\ Charles R Greathouse IV, Jan 12 2017

Formula

a(n) ~ 4/3 * n log n. - Charles R Greathouse IV, Jan 12 2017

A216286 Primes which cannot be written as x^2+5*y^2, where x > 0, y > 0.

Original entry on oeis.org

2, 3, 5, 7, 11, 13, 17, 19, 23, 31, 37, 43, 47, 53, 59, 67, 71, 73, 79, 83, 97, 103, 107, 113, 127, 131, 137, 139, 151, 157, 163, 167, 173, 179, 191, 193, 197, 199, 211, 223, 227, 233, 239, 251, 257, 263, 271, 277, 283, 293, 307, 311, 313, 317, 331, 337, 347, 353, 359, 367, 373, 379, 383, 397, 419
Offset: 1

Views

Author

V. Raman, Sep 03 2012

Keywords

Comments

This consists of 5 together with those primes which are not congruent to 1 or 9 (mod 20) (which are listed in A216277). - N. J. A. Sloane, Sep 04 2012

References

  • David A. Cox, Primes of the Form x^2 + n y^2, Wiley, 1989. See Eq. (1.20), p. 19 and Eq. (2.22), p. 32. - N. J. A. Sloane, Sep 03 2012

Crossrefs

Previous Showing 11-20 of 23 results. Next