Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A078641
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A078641 Numbers between 1 and n-1 coprime to n(n+1)(n+2)(n+3). +0
1
1, 1, 1, 1, 1, 2, 1, 2, 2, 2, 2, 2, 2, 3, 4, 5, 4, 4, 3, 4, 5, 5, 5, 6, 5, 7, 6, 6, 7, 7, 8, 6, 6, 7, 7, 10, 7, 8, 8, 9, 10, 9, 9, 10, 11, 12, 11, 11, 10, 12 (list; graph; listen)
OFFSET

1,6

COMMENT

Which integers occur? For example 19 does not.

EXAMPLE

a(10)=2 as only 1 and 7 are coprime to 10.11.12.13

PROGRAM

(PARI) newphi(v)=local(vl, fl, np); vl=length(v); np=0; for (s=1, v[1], fl=false; for (r=1, vl, if (gcd(s, v[r])>1, fl=true; break)); if (fl==false, np++)); np v=vector(4); for (i=1, 50, v[1]=i; v[2]=i+1; v[3]=i+2; v[4]=i+3; print1(newphi(v)", "))

CROSSREFS

Sequence in context: A029404 A029417 A029237 this_sequence A072628 A068212 A064131

Adjacent sequences: A078638 A078639 A078640 this_sequence A078642 A078643 A078644

KEYWORD

nonn

AUTHOR

Jon Perry (perry(AT)globalnet.co.uk), Dec 12 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 December 10 12:37 EST 2009. Contains 170569 sequences.


AT&T Labs Research