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!)
A191763 Integers that cannot be partitioned into a sum of an odd square, an even square and a triangular number. 0
3, 21, 36, 78, 105, 171, 210, 351, 465, 528, 666, 903, 990, 1176, 1275, 1485, 1596, 1953, 2346, 2628, 2775, 3081, 3570, 3741, 4095, 4278, 4656, 4851, 5253, 6105, 6555, 6786, 7260, 8256, 8778, 9045, 9591, 9870 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Sun has proved that the a(n) are those positive triangular numbers A000217(m) for which all the prime divisors of 2m+1 are congruent to 1 (mod 4).
LINKS
Zhi-Wei Sun, Mixed sums of squares and triangular numbers, Acta Arith. 127, (2007), No. 2, pp. 103-113.
EXAMPLE
The fifth integer that cannot be partitioned into a sum of an odd square, an even square and a triangular number is 105. Hence a(5)=105.
MATHEMATICA
Test[n_] := Module[{x, y, z}, FindInstance[(2x+1)^2 + (2 y)^2 + z (z+1)/2 == n && 0 <= x <= n && 0 <= y <= n && 0 <= z <= n, {x, y, z}, Integers]]; Select[Range[1000], Length[Test[#]] == 0 &]
PROG
(PARI) is_A191763(N)=issquare(N*8+1, &N)&N%4==1&vecsort(factor(N)[, 1]~%4, , 8)==[1] \\ M. F. Hasler, Jun 22 2011
CROSSREFS
Sequence in context: A213141 A075732 A087690 * A227241 A076169 A298035
KEYWORD
nonn,easy
AUTHOR
Ant King, Jun 22 2011
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 23 16:40 EDT 2024. Contains 371916 sequences. (Running on oeis4.)