login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A126199
a(n) = prime(n)*prime(n+1) + prime(n) + prime(n+1).
4
11, 23, 47, 95, 167, 251, 359, 479, 719, 959, 1215, 1595, 1847, 2111, 2591, 3239, 3719, 4215, 4895, 5327, 5919, 6719, 7559, 8819, 9995, 10607, 11231, 11879, 12539, 14591, 16895, 18215, 19319, 20999, 22799, 24015, 25911, 27551, 29231, 31319, 32759
OFFSET
1,1
FORMULA
a(n) = A180617(n) - 1. - Omar E. Pol, Dec 08 2019
MATHEMATICA
f[n_] := Block[{p = Prime[n], q = Prime[n + 1]}, p*q + p + q]; Array[f, 42] (* Robert G. Wilson v, Mar 09 2007 *)
Times@@#+Total[#]&/@Partition[Prime[Range[50]], 2, 1] (* Harvey P. Dale, Nov 01 2017 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Jonathan Vos Post, Mar 08 2007
EXTENSIONS
More terms from Robert G. Wilson v, Mar 09 2007
STATUS
approved