Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A161811
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A161811 Difference between nonprime(n+2) and nonprime(n). +0
1
4, 5, 4, 3, 2, 3, 4, 3, 2, 3, 4, 3, 2, 3, 3, 2, 2, 2, 3, 4, 3, 2, 2, 2, 3, 3, 2, 3, 4, 3, 2, 3, 3, 2, 2, 2, 3, 3, 2, 2, 2, 3, 4, 3, 2, 2, 2, 3, 3, 2, 3, 4, 3, 2, 2, 2, 3, 3, 2, 3, 3, 2, 2, 2, 3, 3, 2, 2, 2, 2, 2, 3, 3, 2, 3, 4, 3, 2, 3, 4, 3, 2, 3, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 2, 3, 3, 2, 2, 2, 3, 4 (list; graph; listen)
OFFSET

1,1

COMMENT

"nonprime(n)" is used for "n-th nonprime". Here the nonprimes start at 0 (see A141468), so nonprime(1) to nonprime(15) are 0, 1, 4, 6, 8, 9, 10, 12, 14, 15, 16, 18, 20, 21, 22.

FORMULA

a(n) = A141468(n+2)-A141468(n).

EXAMPLE

nonprime(1+2)-nonprime(1) = 4-0; so a(1) = 4.

nonprime(5+2)-nonprime(5) = 10-8; so a(5) = 2.

nonprime(11+2)-nonprime(11) = 20-16; so a(11) = 4.

CROSSREFS

Cf. A031131, A141468.

Sequence in context: A120867 A011427 A071413 this_sequence A016717 A031349 A036444

Adjacent sequences: A161808 A161809 A161810 this_sequence A161812 A161813 A161814

KEYWORD

nonn

AUTHOR

Juri-Stepan Gerasimov (2stepan(AT)rambler.ru), Jun 20 2009

EXTENSIONS

Edited, corrected (a(11)=2 replaced by 4) and extended by Klaus Brockhaus (klaus-brockhaus(AT)t-online.de), Jun 24 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 7 23:50 EST 2009. Contains 170430 sequences.


AT&T Labs Research