|
Search: id:A094138
|
|
|
| A094138 |
|
Values x+y of smallest pair (x,y) satisfying x^2 - 2*y^2=-+d, where d=A058529(n). |
|
+0 6
|
|
| 2, 3, 4, 6, 5, 8, 8, 6, 7, 11, 10, 10, 8, 13, 13, 11, 9, 14, 16, 10, 14, 13, 18, 11, 16, 16, 14, 19, 12, 21, 17, 20, 19, 13, 20, 23, 18, 16, 14, 21, 21, 20, 19, 17, 15, 22, 25, 25, 23, 22, 16, 28, 23, 28, 21, 26, 19, 17, 25, 24, 24, 22, 20, 18, 29, 25, 30, 28, 27, 23, 33, 28, 19
(list; graph; listen)
|
|
|
OFFSET
|
1,1
|
|
|
COMMENT
|
Here (x,y) is considered smaller than (u,v) iff x+y < u+v or (x+y = u+v and x < u).
|
|
EXAMPLE
|
A058529(14) = 103; (5, 8), (11, 3), (17, 14), (21, 13), ... are pairs satisfying x^2 - 2*y^2 = -+103; (5, 8) is the smallest one, so a(14) = 5+8 = 13.
|
|
PROGRAM
|
(PARI) {for(n=1, 690, fac=factor(n); v=vector(matsize(fac)[1], j, fac[j, 1])%8; b=1; for(k=1, length(v), if(v[k]>1&&v[k]<7, b=0)); if(b>0, print1(sp(n)[3], ", ")))}. For sp(n) see A094136.
|
|
CROSSREFS
|
Cf. A058529, A094136, A094137.
Sequence in context: A123717 A123718 A121878 this_sequence A116538 A084287 A053212
Adjacent sequences: A094135 A094136 A094137 this_sequence A094139 A094140 A094141
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
Lekraj Beedassy (blekraj(AT)yahoo.com), May 04 2004
|
|
EXTENSIONS
|
Edited, corrected and extended by Klaus Brockhaus (klaus-brockhaus(AT)t-online.de) May 31 2004
|
|
|
Search completed in 0.002 seconds
|