Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A074933
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A074933 Number of integers in {1, 2, ..., 2^n} that are coprime to n. +0
1
2, 2, 6, 8, 26, 21, 110, 128, 342, 410, 1862, 1365, 7562, 7022, 17477 (list; graph; listen)
OFFSET

1,1

COMMENT

Compare the definition of a(n) to phi(n) = number of integers in {1, 2, ..., n} that are coprime to n.

EXAMPLE

The are six integers in {1, 2, ..., 2^3} that are coprime to 3, i.e. 1, 2, 4, 5, 7, 8. Hence a(3) = 6.

MATHEMATICA

h[n_] := Module[{l}, l = {}; For[i = 1, i <= 2^n, i++, If[GCD[i, n] == 1, l = Append[l, i]]]; l]; Table[Length[h[i]], {i, 1, 15}]

CROSSREFS

Sequence in context: A129383 A052957 A157253 this_sequence A003178 A079494 A131553

Adjacent sequences: A074930 A074931 A074932 this_sequence A074934 A074935 A074936

KEYWORD

nonn

AUTHOR

Joseph L. Pe (joseph_l_pe(AT)hotmail.com), Oct 04 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 November 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research