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

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A270122 Indices of prime numbers of the form x^2 + x + x*y + y + y^2 where x and y are integers. 0
1, 3, 7, 12, 13, 24, 25, 26, 33, 35, 45, 50, 51, 53, 55, 59, 60, 77, 79, 80, 82, 84, 87, 88, 104, 106, 113, 116, 121, 123, 127, 135, 136, 140, 148, 152, 159, 165, 169, 174, 176, 178, 184, 186, 189, 204, 209, 211, 212, 216, 218, 221, 223, 226, 227, 237 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
How is the distribution of a(n), a(n+1) in this sequence where a(n+1) = a(n) + 1?
LINKS
EXAMPLE
1 is a term because prime(1) = 2 = (-2)^2 + (-2) + (-2)*1 + 1 + 1^2.
3 is a term because prime(3) = 5 = 1^2 + 1 + 1*1 + 1 + 1^2.
7 is a term because prime(7) = 17 = (-5)^2 + (-5) + (-5)*3 + 3 + 3^2.
12 is a term because prime(12) = 37 = (-7)^2 + (-7) + (-7)*5 + 5 + 5^2.
13 is a term because prime(13) = 41 = 7^2 + 7 + 7*(-3) + (-3) + (-3)^2.
PROG
(PARI) isA003136(n) = #bnfisintnorm(bnfinit(z^2+z+1), n);
for(n=1, 250, if(isA003136(3*prime(n)+1), print1(n, ", ")));
CROSSREFS
Sequence in context: A215631 A081695 A290955 * A142958 A310214 A310215
KEYWORD
nonn
AUTHOR
Altug Alkan, Mar 11 2016
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 April 19 21:09 EDT 2024. Contains 371798 sequences. (Running on oeis4.)