OFFSET
1,2
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..1035
EXAMPLE
Triangle begins:
1,
4, 1,
0, 4, 1,
5, 8, 2, 1,
4, 6, 4, 2, 1,
4, 4, 4, 8, 4, 1,
MAPLE
A153661 := proc(n, k) modp(2^(A002808(n)-A002808(k)), A002808(n)) ; end proc: # R. J. Mathar, Dec 15 2010
MATHEMATICA
Composite[m_] := FixedPoint[m + PrimePi[#] + 1 &, m + PrimePi[m] + 1]; a[n_, k_] := Mod[2^(Composite[n] - Composite[k]), Composite[n]]; Table[a[n, k], {n, 1, 15}, {k, 1, n}]; Flatten[%] (* G. C. Greubel, Aug 24 2016 *)
CROSSREFS
KEYWORD
AUTHOR
Juri-Stepan Gerasimov, Dec 12 2010
EXTENSIONS
Terms corrected by R. J. Mathar, Dec 15 2010
STATUS
approved