Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

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

3,3

COMMENT

All runs end in even numbers at a(p), new highs are found at A000101, and the increasing gap size is A005250. - Robert G. Wilson v (rgwv(AT)rgwv.com), Dec 07 2001

MAPLE

with(numtheory); A049711 := n-> n-prevprime(n);

MATHEMATICA

PrevPrim[n_] := Block[ {k = n - 1}, While[ !PrimeQ[k], k-- ]; Return[k]]; Table[ n - PrevPrim[n], {n, 3, 100} ]

CROSSREFS

Cf. A049613, A049653, A049716, A049847.

Sequence in context: A054716 A060145 A035391 this_sequence A137293 A074641 A069003

Adjacent sequences: A049708 A049709 A049710 this_sequence A049712 A049713 A049714

KEYWORD

nonn

AUTHOR

njas

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 July 25 07:41 EDT 2008. Contains 142293 sequences.


AT&T Labs Research