Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A072022
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A072022 Smallest x so that the number of nonprimes (i.e. 1 and composites) in the reduced residue set (RSS(n)) of n equals n. +0
4
1, 5, 7, 15, 26, 11, 13, 38, 102, 17, 19, 25, 0, 23, 35, 144, 74, 198, 29, 31, 75, 57, 104, 94, 37, 55, 69, 41, 43, 118, 0, 47, 81, 128, 87, 134, 53, 93, 480, 146, 77, 59, 61, 117, 111, 166, 172, 67, 250, 91, 71, 73, 350, 194, 129, 202, 79, 206, 212, 83, 214, 153, 218 (list; graph; listen)
OFFSET

1,2

FORMULA

a(n)=Min{x; A048864(x)=n}; a(n)=0 if no such number exists.

EXAMPLE

n = 15: RRS[15] = {1,2,4,7,8,11,13,14} of which nonprimes = cRRS[15] = {1,4,8,14}, i.e. 4 terms; since 15 is smallest such number, so a(4) = 15. a(m) = 0 for m = {13,31,70,119,189,210,235,236}

MATHEMATICA

f[x_] := EulerPhi[x]-PrimePi[x]+Length[FactorInteger[x]] t=Table[0, {256}]; Do[s=f[n]; If[s<257&&t[[s]]==0, t[[s]]=n], {n, 3, 1000000}]; t

CROSSREFS

Cf. A048864, A072023.

Adjacent sequences: A072019 A072020 A072021 this_sequence A072023 A072024 A072025

Sequence in context: A068580 A110994 A015833 this_sequence A003429 A076860 A067589

KEYWORD

nonn

AUTHOR

Labos E. (labos(AT)ana.sote.hu), Jun 06 2002

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 October 7 14:39 EDT 2008. Contains 144666 sequences.


AT&T Labs Research