Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A136623
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A136623 a(n) = largest prime power that is <=n and is coprime to n. +0
1
1, 1, 2, 3, 4, 5, 5, 7, 8, 9, 9, 11, 11, 13, 13, 13, 16, 17, 17, 19, 19, 19, 19, 23, 23, 25, 25, 27, 27, 29, 29, 31, 32, 31, 32, 31, 32, 37, 37, 37, 37, 41, 41, 43, 43, 43, 43, 47, 47, 49, 49, 49, 49, 53, 53, 53, 53, 53, 53, 59, 59, 61, 61 (list; graph; listen)
OFFSET

1,3

COMMENT

a(n) = A031218(n-1) for all n where 2 <= n <= 33.

LINKS

Leroy Quet, Home Page (listed in lieu of email address)

EXAMPLE

The largest prime power that is <= 34 is 32 = 2^5. But 32 is not coprime to 34. The next smaller prime power is 31 = 31^1. 31 is indeed coprime to 34; so a(34) = 31.

PROGRAM

(PARI) a(n) = {x=n; while((matsize(factor(x))[1]>1) | (gcd(x, n)!=1), x--); x} [From Michael Porter (michael_b_porter(AT)yahoo.com), Oct 07 2009]

CROSSREFS

Cf. A031218.

Sequence in context: A162683 A073137 A131233 this_sequence A031218 A163382 A094017

Adjacent sequences: A136620 A136621 A136622 this_sequence A136624 A136625 A136626

KEYWORD

more,nonn

AUTHOR

Leroy Quet Apr 14 2008

EXTENSIONS

More terms from Michael Porter (michael_b_porter(AT)yahoo.com), Oct 07 2009

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 4 23:11 EST 2009. Contains 170347 sequences.


AT&T Labs Research