login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A287865 a(n) = gpf(2*a(n-1)+1), with a(1)=1, where gpf = A006530. 1
1, 3, 7, 5, 11, 23, 47, 19, 13, 3, 7, 5, 11, 23, 47, 19, 13, 3, 7, 5, 11, 23, 47, 19, 13, 3, 7, 5, 11, 23, 47, 19, 13, 3, 7, 5, 11, 23, 47, 19, 13, 3, 7, 5, 11, 23, 47, 19, 13, 3, 7, 5, 11, 23, 47, 19, 13, 3, 7, 5, 11, 23, 47, 19, 13, 3, 7, 5, 11, 23, 47, 19, 13, 3, 7, 5 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Periodic with period length 8.
REFERENCES
Oskars Rieksts, Email to N. J. A. Sloane, Jun 04 2017
LINKS
FORMULA
From Colin Barker, Jun 04 2017: (Start)
G.f.: x*(1 + 3*x + 7*x^2 + 5*x^3 + 11*x^4 + 23*x^5 + 47*x^6 + 19*x^7 + 12*x^8) / ((1 - x)*(1 + x)*(1 + x^2)*(1 + x^4)).
a(n) = a(n-8) for n>9.
(End)
MAPLE
gpf:= n->max(1, op(numtheory[factorset](n))); # A006530
a:=[1]; i:=1;
for n from 1 to 100 do i:=gpf(2*i+1); a:=[op(a), i]; od:
a;
PROG
(Python)
from sympy import primefactors
l=[0, 1]
for n in range(2, 77):
l.append(primefactors(2*l[n - 1] + 1)[-1])
print(l[1:]) # Indranil Ghosh, Jun 04 2017
(PARI) Vec(x*(1 + 3*x + 7*x^2 + 5*x^3 + 11*x^4 + 23*x^5 + 47*x^6 + 19*x^7 + 12*x^8) / ((1 - x)*(1 + x)*(1 + x^2)*(1 + x^4)) + O(x^100)) \\ Colin Barker, Jun 04 2017
CROSSREFS
Cf. A006530.
Sequence in context: A237055 A074368 A074588 * A238086 A065175 A065283
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Jun 04 2017
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 01:35 EDT 2024. Contains 371964 sequences. (Running on oeis4.)