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!)
A282455 Repdigit numbers that are the sum of two nonzero squares. 0
2, 5, 8, 333, 666 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
This sequence is complete - there are no other terms.
LINKS
FORMULA
A000404 INTERSECT A010785.
EXAMPLE
666 = 15^2 + 21^2, therefore 666 is a term.
PROG
(Magma) lst:=[]; for e in [1..3] do a:=Truncate((10^e-1)/9); for x in [1..9] do n:=a*x; f:=Factorization(n); if IsSquare(n) and not IsZero([x: x in [1..#f] | f[x][1] mod 4 eq 1]) or not IsSquare(n) and IsZero([x: x in [1..#f] | IsOdd(f[x][2]) and f[x][1] mod 4 eq 3]) then Append(~lst, n); end if; end for; end for; lst;
CROSSREFS
Cf. A010785.
Sequence in context: A162709 A242875 A222897 * A323457 A011039 A346045
KEYWORD
nonn,base,fini,full
AUTHOR
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 March 29 02:23 EDT 2024. Contains 371264 sequences. (Running on oeis4.)