Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A070817
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A070817 Floor[n/2]-P[Phi[n]], where P(n) is the largest prime factor of n. +0
1
-1, 0, 0, 1, 0, 2, 1, 3, 0, 4, 3, 4, 5, 6, 6, 6, 6, 8, 7, 6, 0, 10, 7, 10, 10, 11, 7, 13, 10, 14, 11, 15, 14, 15, 15, 16, 16, 18, 15, 18, 14, 17, 19, 12, 0, 22, 17, 20, 23, 23, 13, 24, 22, 25, 25, 22, 0, 28, 25, 26, 28, 30, 29, 28, 22, 32, 23, 32, 28, 33, 33, 34, 32, 35, 33, 36, 26, 38, 37, 36, 0, 39, 40, 36, 36, 39, 33, 42, 42, 35, 41, 24 (list; graph; listen)
OFFSET

3,6

FORMULA

a(n)=A004526(n)-A068211(n)=A004526(n)-A006530[A000010(n)]

EXAMPLE

n=3: Floor[3/2]=1,Phi[3]=2,P[2]=2, a(3)=1-2=-1 n=107:Floor[107/2]=53,Phi[107]=2.53, P[106]=53, a(107)=53-53=0; if n is safe prime, then a(n)=0. n=128:Floor[128/2]=64,P[Phi[128]]=P[64]=2, a(128)=64-2=62.

MATHEMATICA

mf[x_] := Part[Reverse[Flatten[FactorInteger[x]]], 2] Table[Floor[n/2//N]-mf[EulerPhi[n]], {w, 3, 128}]

CROSSREFS

Cf. A004526, A068211, A006530, A000010, A005385, A005384.

Sequence in context: A088002 A030109 A058208 this_sequence A127474 A078024 A112469

Adjacent sequences: A070814 A070815 A070816 this_sequence A070818 A070819 A070820

KEYWORD

easy,sign

AUTHOR

Labos E. (labos(AT)ana.sote.hu), May 10 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 27 22:38 EST 2009. Contains 167602 sequences.


AT&T Labs Research