Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A064921
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A064921 Iterate A064920 until a prime is reached. +0
4
2, 3, 3, 5, 3, 7, 5, 5, 3, 11, 3, 13, 5, 7, 5, 17, 5, 19, 5, 5, 3, 23, 3, 5, 5, 11, 3, 29, 3, 31, 17, 13, 5, 11, 5, 37, 5, 7, 3, 41, 3, 43, 5, 13, 3, 47, 5, 13, 5, 19, 5, 53, 5, 7, 5, 5, 3, 59, 5, 61, 17, 7, 13, 17, 5, 67, 5, 5, 5, 71, 5, 73, 5, 19, 3, 17, 5, 79, 5, 29, 3, 83, 5, 5, 5, 31, 5 (list; graph; listen)
OFFSET

2,1

COMMENT

Well defined since A064920(n) < n for nonprimes.

a(p) = p for all primes p.

LINKS

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

EXAMPLE

a(18) = 5 as A064920(18) = 8 and A064920(8) = 5.

PROGRAM

(PARI) gpf(n)= { local(f); f=factor(n)~; return(f[1, length(f)]) } { for (n=2, 1000, m=n; while (!isprime(m), g=gpf(m); m=m / g + g - 1); write("b064921.txt", n, " ", m) ) } [From Harry J. Smith (hjsmithh(AT)sbcglobal.net), Sep 29 2009]

CROSSREFS

Cf. A064920, A064922, A064917.

Sequence in context: A066858 A152864 A152984 this_sequence A064917 A154727 A065070

Adjacent sequences: A064918 A064919 A064920 this_sequence A064922 A064923 A064924

KEYWORD

nonn

AUTHOR

Reinhard Zumkeller (reinhard.zumkeller(AT)gmail.com), Oct 14 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 17 23:40 EST 2009. Contains 171025 sequences.


AT&T Labs Research