cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A340419 Trajectory of 397 under the map A340008: n -> n/2 if n is even, n-> n^2 - 1 if n is an odd prime, otherwise n -> n - 1.

Table of values

n a(n)
0 397
1 157608
2 78804
3 39402
4 19701
5 19700
6 9850
7 4925
8 4924
9 2462
10 1231
11 1515360
12 757680
13 378840
14 189420
15 94710
16 47355
17 47354
18 23677
19 560600328
20 280300164
21 140150082
22 70075041
23 70075040
24 35037520
25 17518760
26 8759380
27 4379690
28 2189845
29 2189844
30 1094922
31 547461

List of values

[397, 157608, 78804, 39402, 19701, 19700, 9850, 4925, 4924, 2462, 1231, 1515360, 757680, 378840, 189420, 94710, 47355, 47354, 23677, 560600328, 280300164, 140150082, 70075041, 70075040, 35037520, 17518760, 8759380, 4379690, 2189845, 2189844, 1094922, 547461]