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!)
A182195 Numbers n for which no numbers w,x,y, all in {1,...,n} satisfy x^2+x^2+y^2=2n. 2
0, 1, 2, 4, 5, 8, 10, 14, 16, 20, 26, 29, 30, 32, 40, 46, 50, 56, 62, 64, 65, 74, 78, 80, 94, 104, 110, 116, 120, 126, 128, 142, 158, 160, 170, 174, 184, 190, 200, 206, 222, 224, 238, 248, 254, 256, 260, 270, 286, 296, 302, 312, 318, 320, 334, 350, 366 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,3

COMMENTS

For a guide to related sequences, see A211422.

LINKS

Table of n, a(n) for n=0..56.

MATHEMATICA

t = Compile[{{n, _Integer}}, Module[{s = 0},

    (Do[If[w^2 + x^2 + y^2 == 2 n, s = s + 1],

        {w, 1, #}, {x, 1, #}, {y, 1, #}] &[n]; s)]];

Map[t[#] &, Range[0, 400]]    (* A211649 *)

-1 + Flatten[Position[%, 0]]  (* A182195 *)

(* Peter J. C. Moses, Apr 13 2012 *)

CROSSREFS

Cf. A211422.

Sequence in context: A190809 A067941 A259711 * A092265 A262937 A249508

Adjacent sequences:  A182192 A182193 A182194 * A182196 A182197 A182198

KEYWORD

nonn

AUTHOR

Clark Kimberling, Apr 18 2012

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 August 6 10:01 EDT 2020. Contains 336245 sequences. (Running on oeis4.)