Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A117499
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A117499 Number of subsets of {n-1, n, n+1} that sum up to a prime. +0
2
3, 4, 4, 3, 2, 4, 2, 2, 2, 2, 2, 3, 1, 2, 2, 2, 1, 3, 2, 2, 2, 2, 2, 2, 0, 1, 1, 1, 2, 4, 2, 1, 1, 1, 1, 3, 2, 1, 1, 2, 2, 3, 1, 2, 1, 1, 1, 2, 1, 1, 2, 2, 2, 3, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 2, 1, 2, 2, 2, 1, 2, 1, 2, 2, 1, 0, 2, 2, 1, 1, 2, 2, 2, 0, 1, 1, 1, 2, 3, 1, 0, 0, 0, 1, 3, 2, 2, 2, 2, 1, 2, 1, 1, 1 (list; graph; listen)
OFFSET

1,1

COMMENT

0 <= a(n) <= 4; a(A066388(n)) = 4.

FORMULA

a(n) = A010051(n-1) + A010051(n) + A010051(n+1) + A010051(2*n-1) + A010051(2*n) + A010051(2*n+1).

EXAMPLE

a(1) = #{2, 0+2=2, 2+2=3} = 3;

a(2) = #{2, 3, 1+2=3, 2+3=5} = 4;

a(3) = #{2, 3, 2+3=5, 3+4=7} = 4;

a(4) = #{3, 5, 3+4=7} = 3;

a(5) = #{5, 5+6=11} = 2.

CROSSREFS

Adjacent sequences: A117496 A117497 A117498 this_sequence A117500 A117501 A117502

Sequence in context: A073498 A105736 A090283 this_sequence A019917 A085005 A035004

KEYWORD

nonn

AUTHOR

Reinhard Zumkeller (reinhard.zumkeller(AT)gmail.com), Mar 23 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 October 13 17:46 EDT 2008. Contains 145008 sequences.


AT&T Labs Research