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!)
A213721 Smallest prime that is the sum of four nonzero squares in exactly n ways. 2
2, 7, 31, 67, 97, 103, 157, 199, 277, 223, 307, 383, 439, 367, 547, 463, 673, 613, 577, 751, 643, 733, 787, 727, 853, 983, 997, 967, 1171, 1223, 1063, 1087, 1123, 1613, 1237, 1279, 1471, 1453, 1669, 1423, 1483, 1597, 1627, 1543, 1567, 1747, 2039, 1753, 1867, 1951 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
LINKS
EXAMPLE
a(2) = 31 because 31 = 2*1 + 4 + 25 = 4 + 3*9.
MATHEMATICA
lst = {}; Do[p = 2; While[True, If[PrimeQ[p] && Length@Select[PowersRepresentations[p, 4, 2], ! MemberQ[#, 0] &] == n, AppendTo[lst, p]; Break[]]; p++], {n, 0, 49}]; lst
CROSSREFS
Cf. A025416.
Sequence in context: A191073 A049576 A298169 * A102162 A059846 A343532
KEYWORD
nonn
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 April 23 05:16 EDT 2024. Contains 371906 sequences. (Running on oeis4.)