Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A068519
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A068519 If n is prime then a(n)=n, else a(n) is the n-th prime. +0
7
2, 2, 3, 7, 5, 13, 7, 19, 23, 29, 11, 37, 13, 43, 47, 53, 17, 61, 19, 71, 73, 79, 23, 89, 97, 101, 103, 107, 29, 113, 31, 131, 137, 139, 149, 151, 37, 163, 167, 173, 41, 181, 43, 193, 197, 199, 47, 223, 227, 229, 233, 239, 53, 251, 257, 263, 269, 271, 59, 281, 61, 293 (list; graph; listen)
OFFSET

1,1

LINKS

Zak Seidov, Table of n, a(n) for n=0..1000 [From Zak Seidov (zakseidov(AT)yahoo.com), Nov 04 2009]

EXAMPLE

a(2)=2 since 2 is prime.

MAPLE

seq(`if`(isprime(i)=true, i, ithprime(i)), i=1..k);

MATHEMATICA

Table[If[PrimeQ[n], n, Prime[n]], {n, 1, 200}] [From Zak Seidov (zakseidov(AT)yahoo.com), Nov 04 2009]

CROSSREFS

Sequence in context: A123934 A051301 A002583 this_sequence A083702 A108041 A095017

Adjacent sequences: A068516 A068517 A068518 this_sequence A068520 A068521 A068522

KEYWORD

easy,nonn,new

AUTHOR

Francois Jooste (phukraut(AT)hotmail.com), Mar 18 2002

EXTENSIONS

More terms, b-file and Mathematica code from Zak Seidov (zakseidov(AT)yahoo.com), Nov 04 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