Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A121543
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A121543 Sequence: "if n appears then n-th prime doesn't", case a(1)=1. +0
1
1, 3, 4, 6, 8, 9, 10, 11, 12, 14, 15, 16, 17, 18, 20, 21, 22, 24, 25, 26, 27, 28, 30, 32, 33, 34, 35, 36, 38, 39, 40, 41, 42, 44, 45, 46, 48, 49, 50, 51, 52, 54, 55, 56, 57, 58, 60, 62, 63, 64, 65, 66, 67, 68, 69, 70, 72, 74, 75, 76, 77, 78, 80, 81, 82, 83, 84, 85, 86, 87, 88 (list; graph; listen)
OFFSET

1,2

MATHEMATICA

(* two versions:*) (* first*) s={1}; Do[If[ !PrimeQ[n]||(PrimeQ[n]&&FreeQ[s, PrimePi[n]]), AppendTo[s, n]], {n, 2, 100}]; s (* Zak Seidov *) (* 2nd *) Table[Prime[Prime[Floor[GoldenRatio*n]]], {n, 1, 20}]; Select[Prime[Range[PrimePi[Last[%]]]], !MemberQ[%, # ]&]; Select[Range[Last[%]], !MemberQ[%, # ]&] (* Joseph Biberstine *)

CROSSREFS

Sequence in context: A072152 A069211 A099356 this_sequence A080702 A090864 A118300

Adjacent sequences: A121540 A121541 A121542 this_sequence A121544 A121545 A121546

KEYWORD

nonn

AUTHOR

Zak Seidov (zakseidov(AT)yahoo.com), Aug 06 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 August 19 23:53 EDT 2008. Contains 142930 sequences.


AT&T Labs Research