A051070 a(n) is the n-th term in sequence A_n, respecting the offset, or a(n) = -1 if A_n has fewer than n terms.
1, 2, 1, 0, 2, 3, 0, 7, 8, 4, 63, 1, 316, 78, 16, 2048, 7652, 26627, 8, 24000, 232919, 1145406, 3498690007594650042368, 2058537, 58, 26, 27, 59, 9272780, 3, 69273668, 4870847, 2387010102192469724605148123694256128, 1, 1, -53, 43, 0, -4696, 173, 44583, 111111111111111111111111111111111111111111, 30402457, 668803781, 1134903170, 382443020332
Offset: 1
Examples
a(19) = 8 because A000019(19) = 8. a(20) = 24000 because A000020(20) = 24000.
Links
- Seth A. Troisi, Table of n, a(n) for n = 1..57 (terms 1..48 from Pontus von Brömssen).
- N. J. A. Sloane, My favorite integer sequences, in Sequences and their Applications (Proceedings of SETA '98).
- N. J. A. Sloane, "A Handbook of Integer Sequences" Fifty Years Later, arXiv:2301.03149 [math.NT], 2023, p. 21.
- Index entries for sequences whose definition involves A_n (or An).
Crossrefs
Programs
-
Maple
for m from 1 do url:= sprintf("https://oeis.org/A%06d/b%06d.txt",m,m); S:= URL:-Get(url); L:= StringTools[Split](S,"\n"); for t in L do g:= sscanf(t, "%d %d"); if nops(g) = 2 and g[1] = m then a[m]:= g[2]; break fi; od; if not assigned(a[m]) then break fi; od: seq(a[i],i=1..m-1); # Robert Israel, May 31 2015
Extensions
Rechecked and 4 more terms added by N. J. A. Sloane, May 25 2005
a(36) and a(42) corrected and a(43) to a(46) added by Robert Israel, May 31 2015
Definition revised by N. J. A. Sloane, Nov 27 2016
Comments