login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A025284 Numbers that are the sum of 2 nonzero squares in exactly 1 way. 17
2, 5, 8, 10, 13, 17, 18, 20, 25, 26, 29, 32, 34, 37, 40, 41, 45, 52, 53, 58, 61, 68, 72, 73, 74, 80, 82, 89, 90, 97, 98, 100, 101, 104, 106, 109, 113, 116, 117, 122, 128, 136, 137, 146, 148, 149, 153, 157, 160, 162, 164, 169, 173, 178, 180, 181, 193, 194, 197, 202, 208, 212 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

A025426(a(n)) = 1. - Reinhard Zumkeller, Aug 16 2011

LINKS

Reinhard Zumkeller, Table of n, a(n) for n = 1..10000

Eric Weisstein's World of Mathematics, Square Number

G. Xiao, Two squares

Index entries for sequences related to sums of squares

FORMULA

A243148(a(n),2) = 1. - Alois P. Heinz, Feb 25 2019

MATHEMATICA

selQ[n_] := Length[ Select[ PowersRepresentations[n, 2, 2], Times @@ # != 0 &]] == 1; Select[Range[300], selQ] (* Jean-Fran├žois Alcover, Oct 03 2013 *)

PROG

(Haskell)

import Data.List (elemIndices)

a025284 n = a025284_list !! (n-1)

a025284_list = elemIndices 1 a025426_list

-- Reinhard Zumkeller, Aug 16 2011

CROSSREFS

Cf. A000404, A025426, A081324, A125022, A018825, A001481, A007692, A243148.

Sequence in context: A024509 A084889 A000404 * A140328 A000415 A172000

Adjacent sequences:  A025281 A025282 A025283 * A025285 A025286 A025287

KEYWORD

nonn

AUTHOR

David W. Wilson

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 June 19 23:39 EDT 2019. Contains 324222 sequences. (Running on oeis4.)