OFFSET
1,2
LINKS
Rémy Sigrist, Table of n, a(n) for n = 1..10000
Rémy Sigrist, Colored scatterplot of the first 10000 terms (red pixels correspond to prime terms)
Rémy Sigrist, C++ program for A307747
EXAMPLE
The first terms of A307720 are (with periodic parts in parentheses):
1,1,2,(1,3)*2,(2,2)*2,(2,3)*3,(3,3)*4,3,(4,2)*4,(4,3)*6,(5,1)*3,(7,1)*3,7,...
* * * * * *
The terms marked with a star give the sequence:
1, 2, 3, 4, 5, 7,...
PROG
(C++) See Links section.
CROSSREFS
KEYWORD
nonn
AUTHOR
Rémy Sigrist, Apr 26 2019
STATUS
approved