login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A167170 a(6)=14, for n>=7, a(n)=a(n-1)+gcd(n, a(n-1)) 8
14, 21, 22, 23, 24, 25, 26, 39, 40, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 87, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 177, 180, 181, 182, 189, 190, 195 (list; graph; refs; listen; history; text; internal format)
OFFSET

6,1

COMMENTS

For every n>=7, a(n)-a(n-1) is 1 or prime. This Rowland-like "generator of primes" is different from A106108 (see comment to A167168)

REFERENCES

E. S. Rowland, A natural prime-generating recurrence , Journal of Integer Sequences, Vol.11(2008), Article 08.2.8

LINKS

Table of n, a(n) for n=6..65.

V. Shevelev, A new generator of primes based on the Rowland idea

MAPLE

A167170 := proc(n) option remember; if n = 6 then 14; else procname(n-1)+igcd(n, procname(n-1)) ; end if; end proc: seq(A167170(i), i=6..80) ; [From R. J. Mathar, Oct 30 2010]

CROSSREFS

Cf. A167168 A106108 A132199 A167054 A167053 A166944 A166945 A116533 A163961 A163963 A084662 A084663 A134162 A135506 A135508 A118679 A120293

Sequence in context: A070719 A030643 A028395 * A213536 A133185 A013629

Adjacent sequences:  A167167 A167168 A167169 * A167171 A167172 A167173

KEYWORD

nonn

AUTHOR

Vladimir Shevelev, Oct 29 2009, Nov 06 2009

EXTENSIONS

Terms > 91 from R. J. Mathar, Oct 30 2010

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified May 23 07:10 EDT 2013. Contains 225585 sequences.