Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A061106
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A061106 Compute Euler totient function for the p(n+1)-p(n)-1 composite numbers between two consecutive primes; choose the smallest. +0
2
2, 2, 4, 4, 6, 6, 8, 8, 8, 12, 16, 12, 20, 16, 18, 16, 20, 24, 24, 24, 32, 24, 24, 40, 32, 48, 36, 40, 32, 48, 40, 44, 48, 40, 48, 54, 80, 48, 56, 48, 60, 64, 84, 60, 48, 72, 96, 72, 88, 72, 64, 80, 72, 84, 80, 72, 88, 96, 92, 96, 80, 120, 96, 144, 80, 96, 108, 112, 120, 116 (list; graph; listen)
OFFSET

0,1

LINKS

Harry J. Smith, Table of n, a(n) for n=0,...,1000

FORMULA

a(n)=Min{Phi(c) : p(n+1)>c>p(n)}

EXAMPLE

p(30)=113 is followed by 13 composites; phi of these are {36, 88, 56, 72, 58, 96, 32, 110, 60, 80, 60, 100, 36}, the smallest of which is 32=a(30) and the largest is 110.

PROGRAM

(PARI) { n=-1; q=3; m=10^6; forprime (p=5, prime(1003), a=m; for (i=q + 1, p - 1, a=min(eulerphi(i), a)); q=p; write("b061106.txt", n++, " ", a) ) } [From Harry J. Smith (hjsmithh(AT)sbcglobal.net), Jul 18 2009]

CROSSREFS

A000010, A061108.

Sequence in context: A004079 A096494 A116568 this_sequence A161764 A131055 A052928

Adjacent sequences: A061103 A061104 A061105 this_sequence A061107 A061108 A061109

KEYWORD

nonn

AUTHOR

Labos E. (labos(AT)ana.sote.hu), May 29 2001

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 December 10 12:37 EST 2009. Contains 170569 sequences.


AT&T Labs Research