Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A165607
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A165607 a(n) = (A165608(n)-3)/4. +0
3
2, 6, 8, 14, 15, 18, 20, 25, 32, 33, 42, 43, 60, 62, 69, 73, 74, 79, 85, 87, 90, 92, 93, 98, 103, 104, 123, 134, 140, 141, 143, 151, 158, 164, 168, 175, 177, 182, 183, 188, 195, 216, 218, 223, 224, 225, 231, 235, 242, 249, 265, 266, 272, 275, 281, 283, 284, 285 (list; graph; listen)
OFFSET

1,1

PROGRAM

(MIT Scheme with MATCHING-POS macro by AK): (define A165607 (MATCHING-POS 1 0 (lambda (n) (let ((w (A004767 n)) (hp (A005408 n))) (let loop ((i 1) (s 1) (zv 0)) (cond ((< s 0) #f) ((>= i hp) (not (zero? zv))) ((zero? s) (loop (1+ i) (+ s (jacobi-symbol (1+ i) w)) (1+ zv))) (else (loop (1+ i) (+ s (jacobi-symbol (1+ i) w)) zv))))))))

CROSSREFS

Set-wise difference of A095274 and A165468.

Sequence in context: A074383 A107505 A074400 this_sequence A109440 A063242 A104636

Adjacent sequences: A165604 A165605 A165606 this_sequence A165608 A165609 A165610

KEYWORD

nonn

AUTHOR

Antti Karttunen (His-Firstname.His-Surname(AT)gmail.com), Oct 06 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 December 11 12:57 EST 2009. Contains 170656 sequences.


AT&T Labs Research