Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A155717
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A155717 Numbers of the form N = a^2 + 7b^2 for some positive integers a,b. +0
11
8, 11, 16, 23, 29, 32, 37, 43, 44, 53, 56, 64, 67, 71, 72, 77, 79, 88, 92, 99, 107, 109, 112, 113, 116, 121, 127, 128, 137, 144, 148, 149, 151, 161, 163, 172, 176, 179, 184, 191, 193, 197, 200, 203, 207, 211, 212, 224, 232, 233, 239, 253, 256, 259, 261, 263, 268 (list; graph; listen)
OFFSET

1,1

COMMENT

Subsequence of A020670 (which allows for a and b to be zero).

PROGRAM

(PARI) isA155717(n, /* optional 2nd arg allows us to get other sequences */c=7) = { for(b=1, sqrtint((n-1)\c), issquare(n-c*b^2) & return(1))}

for( n=1, 300, isA155717(n) & print1(n", "))

CROSSREFS

Cf. A000404, A154777, A092572, A097268, A154778, A155707-A155716, A155560-A155578.

Sequence in context: A154685 A068591 A065348 this_sequence A111254 A127271 A118549

Adjacent sequences: A155714 A155715 A155716 this_sequence A155718 A155719 A155720

KEYWORD

easy,nonn

AUTHOR

M. F. Hasler (MHasler(AT)univ-ag.fr), Jan 25 2009

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 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research