Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A006431
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A006431 Numbers with property that their representation as sum of 4 squares is unique. +0
4
0, 1, 2, 3, 5, 6, 7, 8, 11, 14, 15, 23, 24, 32, 56, 96, 128, 224, 384, 512, 896, 1536, 2048, 3584, 6144, 8192, 14336, 24576, 32768, 57344, 98304, 131072, 229376, 393216, 524288, 917504, 1572864, 2097152, 3670016, 6291456, 8388608, 14680064 (list; graph; listen)
OFFSET

1,3

LINKS

Index entries for sequences related to sums of squares

FORMULA

Consists of 7 odd numbers plus 0 and numbers of forms 2*4^k, 6*4^k, 14*4^k, k >= 0.

PROGRAM

(PARI) {a(n)=if(n<1, 0, if(n<14, [1, 2, 3, 5, 6, 7, 8, 11, 14, 15, 23, 24, 32] [n], [4, 7, 12][(n+1)%3+1]*2^((n+1)\3*2-7)))} /* Michael Somos Apr 08 2006 */

(PARI) {a(n)=if(n<2, 0, if(n<15, [1, 2, 3, 5, 6, 7, 8, 11, 14, 15, 23, 24, 32] [n-1], [4, 7, 12][n%3+1]*2^(n\3*2-7)))} /* Michael Somos Apr 23 2006 */

CROSSREFS

{n | A002635(n) = 1}

Essentially the same as A000534.

Sequence in context: A123030 A063752 A016741 this_sequence A028229 A104452 A062877

Adjacent sequences: A006428 A006429 A006430 this_sequence A006432 A006433 A006434

KEYWORD

nonn,easy,nice

AUTHOR

David M. Bloom.

EXTENSIONS

More terms from James A. Sellers (sellersj(AT)math.psu.edu), Dec 24 1999

Corrected by T. D. Noe (noe(AT)sspectra.com), Jun 15 2006

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 21 14:49 EST 2008. Contains 150807 sequences.


AT&T Labs Research