Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A151799
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A151799 Version 2 of the "previous prime" function: largest prime < n. +0
4
2, 3, 3, 5, 5, 7, 7, 7, 7, 11, 11, 13, 13, 13, 13, 17, 17, 19, 19, 19, 19, 23, 23, 23, 23, 23, 23, 29, 29, 31, 31, 31, 31, 31, 31, 37, 37, 37, 37, 41, 41, 43, 43, 43, 43, 47, 47, 47, 47, 47, 47, 53, 53, 53, 53, 53, 53, 59, 59, 61, 61, 61, 61, 61, 61, 67, 67, 67, 67, 71, 71, 73, 73, 73, 73 (list; graph; listen)
OFFSET

3,1

COMMENT

Version 1 of the "previous prime" function is "largest prime <= n". This produces A007917, the same sequence of numerical values, except the offset (or indexing) starts at 2 instead of 3.

Maple's "prevprime" function uses version 2.

See A007917 for references and further information.

LINKS

Daniel Forgues, Table of n, a(n) for n=3..100000

MAPLE

A151799 := n-> prevprime(n);

CROSSREFS

Cf. A000040, A007917, A007918, A151800.

Sequence in context: A093074 A136548 A007917 this_sequence A093841 A091937 A113637

Adjacent sequences: A151796 A151797 A151798 this_sequence A151800 A151801 A151802

KEYWORD

nonn,easy,nice

AUTHOR

N. J. A. Sloane (njas(AT)research.att.com), Jun 29 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